]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_app.i
Remove wrappers for some functions meant to be interal use only.
[wxWidgets.git] / wxPython / src / _app.i
index fc25d1c8c1e79138f3e9139782349a887c243357..549ca80c44771759e7174be2bd8cfa31117195e9 100644 (file)
@@ -50,6 +50,7 @@ public:
     %pythonAppend wxPyApp
        "self._setCallbackInfo(self, PyApp)
         self._setOORInfo(self)";
+    %typemap(out) wxPyApp*;    // turn off this typemap
 
     DocStr(wxPyApp,
            "Create a new application object, starting the bootstrap process.", "");
@@ -62,6 +63,10 @@ public:
 
     ~wxPyApp();
 
+    // Turn it back on again
+    %typemap(out) wxPyApp* { $result = wxPyMake_wxObject($1, $owner); }
+
+
     void _setCallbackInfo(PyObject* self, PyObject* _class);