%include my_typemaps.i
%include _defs.i
+%include pointer.i
+
%import misc.i
+%import misc2.i
%import windows.i
%import events.i
%import gdi.i
%import frames.i
%import windows3.i
%import image.i
+%import printfw.i
+%import sizers.i
%native(_wxStart) __wxStart;
//---------------------------------------------------------------------------
-#define __version__ "2.0b9"
+
+#define __version__ "0.0.0" // The real value is now in build.py...
wxPoint wxPyDefaultPosition;
wxSize wxPyDefaultSize;
}
}
+ ~wxPyApp();
wxString GetAppName();
#ifdef __WXMSW__
bool Initialized();
int MainLoop();
bool Pending();
+ bool ProcessIdle();
void SetAppName(const wxString& name);
#ifdef __WXMSW__
void SetTopWindow(wxWindow* window);
void SetVendorName(const wxString& name);
- // This one is wxPython specific. If you override MainLoop,
- // call this when done.
- void AfterMainLoop();
+ wxIcon GetStdIcon(int which);
+
+
};
+//----------------------------------------------------------------------
+// this is used to cleanup after wxWindows when Python shuts down.
+
+%inline %{
+ void wxApp_CleanUp() {
+ wxApp::CleanUp();
+ }
+%}
//----------------------------------------------------------------------
// This code gets added to the module initialization function
//----------------------------------------------------------------------
%{
-extern "C" SWIGEXPORT(void,initwindowsc)();
-extern "C" SWIGEXPORT(void,initwindows2c)();
-extern "C" SWIGEXPORT(void,initeventsc)();
-extern "C" SWIGEXPORT(void,initmiscc)();
-extern "C" SWIGEXPORT(void,initgdic)();
-extern "C" SWIGEXPORT(void,initmdic)();
-extern "C" SWIGEXPORT(void,initcontrolsc)();
-extern "C" SWIGEXPORT(void,initcontrols2c)();
-extern "C" SWIGEXPORT(void,initcmndlgsc)();
-extern "C" SWIGEXPORT(void,initstattoolc)();
-extern "C" SWIGEXPORT(void,initframesc)();
-extern "C" SWIGEXPORT(void,initwindows3c)();
-extern "C" SWIGEXPORT(void,initimagec)();
-#ifndef SEPARATE
-extern "C" SWIGEXPORT(void,initutilsc)();
-extern "C" SWIGEXPORT(void,initglcanvasc)();
-#endif
+extern "C" SWIGEXPORT(void) initwindowsc();
+extern "C" SWIGEXPORT(void) initwindows2c();
+extern "C" SWIGEXPORT(void) initeventsc();
+extern "C" SWIGEXPORT(void) initmiscc();
+extern "C" SWIGEXPORT(void) initmisc2c();
+extern "C" SWIGEXPORT(void) initgdic();
+extern "C" SWIGEXPORT(void) initmdic();
+extern "C" SWIGEXPORT(void) initcontrolsc();
+extern "C" SWIGEXPORT(void) initcontrols2c();
+extern "C" SWIGEXPORT(void) initcmndlgsc();
+extern "C" SWIGEXPORT(void) initstattoolc();
+extern "C" SWIGEXPORT(void) initframesc();
+extern "C" SWIGEXPORT(void) initwindows3c();
+extern "C" SWIGEXPORT(void) initimagec();
+extern "C" SWIGEXPORT(void) initprintfwc();
+extern "C" SWIGEXPORT(void) initsizersc();
+extern "C" SWIGEXPORT(void) initclip_dndc();
%}
__wxPreStart(); // initialize the GUI toolkit, if needed.
-// wxPyWindows = new wxHashTable(wxKEY_INTEGER, 100);
// Since these modules are all linked together, initialize them now
// because python won't be able to find their shared library files,
initwindows2c();
initeventsc();
initmiscc();
+ initmisc2c();
initgdic();
initmdic();
initcontrolsc();
initframesc();
initwindows3c();
initimagec();
-#ifndef SEPARATE
- initutilsc();
-#ifdef WITH_GLCANVAS
- initglcanvasc();
-#endif
-#endif
+ initprintfwc();
+ initsizersc();
+ initclip_dndc();
%}
//----------------------------------------------------------------------