]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/wx.i
In GetPath(), don't append separator if there's already one at the end
[wxWidgets.git] / wxPython / src / wx.i
index 27d5a3d51a43db186df05acb31f49daacbef2a4e..010621f4fa97666e0c7b07ebef69e5d2ee7148b6 100644 (file)
@@ -108,7 +108,8 @@ public:
 
 %inline %{
     wxPyApp* wxGetApp() {
-        return wxPythonApp;
+        //return wxPythonApp;
+        return (wxPyApp*)wxGetApp();
     }
 %}