Very recently, I installed wxc-0.90.0.4 and defeated a compile error
building on the libgtk-3-dev package in Ubuntu (and a manually installed
wxWidgets-2.9.4). The trouble started because gcc 4.6.3 errored out on a
line:
*_ref = NULL;
claiming it didn't know what a wxBitmap was.
This traces to
/usr/local/include/wx-2.9/wx/gtk/bitmap.h : which included two definitions:
wxBitmap( const char* const* bits );
wxBitmap(GdkPixbuf* pixbuf);
I picked one by modifying line 159 of
src/cpp/eljpen.cpp : to read
EWXWEXPORT(void,wxPen_GetStipple)(void* self,wxBitmap* _ref)
{
#if defined(__WXGTK__)
*_ref = wxBitmap((const char* const*)NULL);
#else
*_ref = *(((wxPen*)self)->GetStipple());
#endif
}
and the thing compiled.
~ David M. Rogers
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel