]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/wx.i
wxUniv compilation fixes (patch 559620)
[wxWidgets.git] / wxPython / src / wx.i
index f51a623b6db84aa5df18c551815b5d77f6495b84..6614275ff974cb226795b3406557162b36ec40c7 100644 (file)
@@ -107,7 +107,8 @@ public:
 
 %inline %{
     wxPyApp* wxGetApp() {
-        return wxPythonApp;
+        //return wxPythonApp;
+        return (wxPyApp*)wxTheApp;
     }
 %}
 
@@ -202,7 +203,11 @@ static wxPyCoreAPI API = {
     wxPyMake_wxSizer,
     wxPyPtrTypeMap_Add,
     wxArrayString2PyList_helper,
-    wxArrayInt2PyList_helper
+    wxArrayInt2PyList_helper,
+
+    wxPyClientData_dtor,
+    wxPyUserData_dtor,
+    wxPyOORClientData_dtor
 };