]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/wx.cpp
wxUniversal fixes:
[wxWidgets.git] / wxPython / src / gtk / wx.cpp
index 71cdb1cc04b5c32fbcad718375b33f1060746e09..51a9199a2fc88feea23b2686552259b38a641c0c 100644 (file)
@@ -595,7 +595,8 @@ PyObject *ptrfree(PyObject *_PTRVALUE) {
 
 
     wxPyApp* wxGetApp() {
-        return wxPythonApp;
+        //return wxPythonApp;
+        return (wxPyApp*)wxGetApp();
     }
 
     void wxApp_CleanUp() {