Displaying 3 results from an estimated 3 matches for "desiredheight".
2005 Aug 03
24
patch for Icon
I just checked out a fresh copy and had to tweak wxIcon.h to get it to
compile on Mac OS X and windows. The problem is with:
wxIcon(const wxString& filename,
wxBitmapType type = wxBITMAP_TYPE_XPM,
int desiredWidth=-1, int desiredHeight=-1);
that signature is only used on GTK on other systems it is:
wxIcon(const wxString& name,
long type = wxBITMAP_TYPE_ICO_RESOURCE,
int desiredWidth = -1, int desiredHeight = -1);
So I wrapped this in a #ifdef __WXGTK__ #else #endif
I also had to change:...
2005 Aug 02
3
compile fix for wx2.6
building on ubuntu with wx2.6 gives only one error:
an argument type has changed from long to wxBitmapType in a
constructor of the wxIcon class.
These changes were needed to fix the build.
This brings up the question what is the status of the
swig/classes/include files which were generated using the xml extract
script which is no longer available in CVS.
Should that script be rerun using wx2.6
2005 Aug 04
8
swigwin
Anyone on the list have some pointers for getting swig working properly
on Windows? Anytime I reswig a file it breaks wx.cpp. I''m sure I''ve
got a setup problem but I haven''t been able to put my finger on it yet.
Roy