]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/wx.i
Probably only whitespace changes
[wxWidgets.git] / wxPython / src / wx.i
index f51a623b6db84aa5df18c551815b5d77f6495b84..432dc65aee299150a7aa3a66a747390210d9c582 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*)wxTheApp;
     }
 %}
 
@@ -202,7 +204,11 @@ static wxPyCoreAPI API = {
     wxPyMake_wxSizer,
     wxPyPtrTypeMap_Add,
     wxArrayString2PyList_helper,
-    wxArrayInt2PyList_helper
+    wxArrayInt2PyList_helper,
+
+    wxPyClientData_dtor,
+    wxPyUserData_dtor,
+    wxPyOORClientData_dtor
 };