Looks like wxWindows' own setup.h already has lots of flags and comments
to help strip out various components, which is great! I already took
out a couple things and got the DLL down by 1/2 meg.
But I ran into problems with wxPython/src/msw/misc2.cpp:
Looking at misc2.i, I'm not sure the problem is. It seems that the #if's
are setup to ignore wxUSE_JOYSTICK when on MS Windows, but I'm not sure
what the point of that is. This is also my first foray into [wx]SWIG;
maybe I'll learn a few things...
Looks like wxWindows' own setup.h already has lots of flags and comments to help strip out various components, which is great! I already took out a couple things and got the DLL down by 1/2 meg.
But I ran into problems with wxPython/src/msw/misc2.cpp:
Looking at misc2.i, I'm not sure the problem is. It seems that the #if's are setup to ignore wxUSE_JOYSTICK when on MS Windows, but I'm not sure what the point of that is. This is also my first foray into [wx]SWIG; maybe I'll learn a few things...
IIRC, the issue was that when I wrote that part of misc2.i that wxUSE_JOYSTICK wasn't set properly on Windows...
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!