#include <Python.h>
#include "helpers.h"
+#ifdef __WXGTK__
+#ifdef USE_GDK_IMLIB
+#include "gdk_imlib/gdk_imlib.h"
+#endif
+#endif
//---------------------------------------------------------------------------
wxApp::CleanUp();
#endif
#ifdef __WXGTK__
- wxApp::CommonCleanup();
+ wxApp::CommonCleanUp();
#endif
delete wxPythonApp;
}
wxApp::CleanUp();
#endif
#ifdef __WXGTK__
- wxApp::CommonCleanup();
+ wxApp::CommonCleanUp();
#endif
PyErr_SetString(PyExc_SystemExit, "OnInit returned false, exiting...");
return NULL;
//---------------------------------------------------------------------------
+#ifdef __WXMSW__
wxPyMenu::wxPyMenu(const wxString& title, PyObject* _func)
: wxMenu(title, (wxFunction)(func ? MenuCallback : NULL)), func(0) {
Py_DECREF(evtobj);
Py_DECREF(menuobj);
}
+#endif
//---------------------------------------------------------------------------
}
+#ifdef __WXMSW__
wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source) {
if (!PyList_Check(source)) {
PyErr_SetString(PyExc_TypeError, "Expected a list object.");
return temp;
}
-
+#endif
//----------------------------------------------------------------------
// A WinMain for when wxWindows and Python are linked together in a single
/////////////////////////////////////////////////////////////////////////////
//
// $Log$
+// Revision 1.2 1998/08/14 23:36:36 RD
+// Beginings of wxGTK compatibility
+//
// Revision 1.1 1998/08/09 08:25:51 RD
// Initial version
//