Re: [wxhaskell-devel] Darcs patch: support for XRC based resources in wxHaskell

2008-10-23 Thread shelarcy
Hi, On Tue, 21 Oct 2008 19:59:52 +0900, Jeremy O'Donoghue [EMAIL PROTECTED] wrote: Attached is a set of patches to enable XRC support in wxHaskell Darcs head, along with a couple of samples (in the samples/test/XRCControls directory) showing how to use the new functionality. They have only

Re: [wxhaskell-devel] Darcs patch: support for XRC based resources in wxHaskell

2008-10-23 Thread shelarcy
On Thu, 23 Oct 2008 21:59:36 +0900, shelarcy [EMAIL PROTECTED] wrote: I got error when building wxc with xrc.patch on Mac OS X platform. g++ -c wxc/src/eljrc.cpp -o dist/wxc/eljrc.o -MD -DwxcREFUSE_MEDIACTRL -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8

Re: [wxhaskell-devel] Darcs patch: support for XRC based resources in wxHaskell

2008-10-23 Thread Jeremy O'Donoghue
Hi Shelarcy, I'll try it on my Mac when I get home - could prove to be a pre-processor difference between Visual Studio and GCC. In the two cases given, I'd expect the BUILD_XRCGETCTRL_FN macro to expand as follows: Where _typ is Sizer EWXWEXPORT(wxSizer*, wxXmlResource_GetSizer)(wxWindow*