Re: [wxhaskell-users] WxHaskell do not compile on WxGTK

2007-09-15 Thread shelarcy
Oops, I misread your mail. So I want to send correct one. EWXWEXPORT(void*, Cursor_CreateLoad) (const wxString* name, long type, int width, int height) { #ifndef __WXGTK__ return (void*) new wxCursor(*name, type, width, height); #else return NULL; #endif } Best Regards, On Sun, 16 Sep

Re: [wxhaskell-users] WxHaskell do not compile on WxGTK

2007-09-15 Thread shelarcy
Hi Mads, On Sun, 16 Sep 2007 00:42:17 +0900, Mads Lindstrøm <[EMAIL PROTECTED]> wrote: > I tried putting "#ifndef __WXGTK__" around references to > Cursor_CreateLoad before doing configure, make, ... I created the > #ifndef in the file /wxc/include/ewxw/wxc_glue.h and in the > file /wxc/src/ewxw/e

Re: [wxhaskell-users] WxHaskell do not compile on WxGTK

2007-09-15 Thread Mads Lindstrøm
Hi all I tried putting "#ifndef __WXGTK__" around references to Cursor_CreateLoad before doing configure, make, ... I created the #ifndef in the file /wxc/include/ewxw/wxc_glue.h and in the file /wxc/src/ewxw/eljcursor.cpp. But the Cursor_CreateLoad function still gets automatically created in th