]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_app.i
added missing button state
[wxWidgets.git] / wxPython / src / _app.i
index 4c7ff5f139307c017e1c6b4518da9fa2309cbc18..91d1a8fb8bc176b3af62307b4b5f90bf7ffe3e61 100644 (file)
@@ -47,9 +47,7 @@ DocStr(wxPyApp,
 class wxPyApp : public wxEvtHandler {
 public:
 
-    %pythonAppend wxPyApp
-       "self._setCallbackInfo(self, PyApp, False)
-        self._setOORInfo(self, False)";
+    %pythonAppend wxPyApp    "self._setOORInfo(self, False);" setCallbackInfo(PyApp)
     %typemap(out) wxPyApp*;    // turn off this typemap
 
     DocStr(wxPyApp,
@@ -67,7 +65,7 @@ public:
     %typemap(out) wxPyApp* { $result = wxPyMake_wxObject($1, $owner); }
 
 
-    void _setCallbackInfo(PyObject* self, PyObject* _class, bool incref);
+    void _setCallbackInfo(PyObject* self, PyObject* _class, bool incref=false);
 
 
     DocDeclStr(