X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e12096a94eba3d131239bba70334ae727cf41fab..86033c4b6f77916326ab7e04fb96b4e12ba5afbd:/wxPython/src/_app.i diff --git a/wxPython/src/_app.i b/wxPython/src/_app.i index 4c7ff5f139..bef4d71056 100644 --- a/wxPython/src/_app.i +++ b/wxPython/src/_app.i @@ -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( @@ -230,7 +228,7 @@ explicitly from somewhere.", ""); DocDeclStr( - void, SetUseBestVisual( bool flag ), + void, SetUseBestVisual( bool flag, bool forceTrueColour = false ), "Set whether the app should try to use the best available visual on systems where more than one is available, (Sun, SGI, XFree86 4, etc.)", "");