]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/wx.i
SWIGed changes for wxGTK
[wxWidgets.git] / wxPython / src / wx.i
index f51a623b6db84aa5df18c551815b5d77f6495b84..010621f4fa97666e0c7b07ebef69e5d2ee7148b6 100644 (file)
@@ -12,6 +12,7 @@
 
 %module wx
 
+
 %{
 #include "helpers.h"
 %}
@@ -107,7 +108,8 @@ public:
 
 %inline %{
     wxPyApp* wxGetApp() {
-        return wxPythonApp;
+        //return wxPythonApp;
+        return (wxPyApp*)wxGetApp();
     }
 %}
 
@@ -202,7 +204,11 @@ static wxPyCoreAPI API = {
     wxPyMake_wxSizer,
     wxPyPtrTypeMap_Add,
     wxArrayString2PyList_helper,
-    wxArrayInt2PyList_helper
+    wxArrayInt2PyList_helper,
+
+    wxPyClientData_dtor,
+    wxPyUserData_dtor,
+    wxPyOORClientData_dtor
 };