X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64e8a1f072f09865b57ce399fa4401009e08d314..4263de1e0586d20cb49d0dde23f0d227c5ef25cb:/wxPython/src/_app.i?ds=sidebyside diff --git a/wxPython/src/_app.i b/wxPython/src/_app.i index e2efaa1c1a..0507835d35 100644 --- a/wxPython/src/_app.i +++ b/wxPython/src/_app.i @@ -44,10 +44,12 @@ enum class wxPyApp : public wxEvtHandler { public: - %addtofunc wxPyApp + %pythonAppend wxPyApp "self._setCallbackInfo(self, PyApp) self._setOORInfo(self)"; + DocStr(wxPyApp, + "Create a new application object, starting the bootstrap process."); %extend { wxPyApp() { wxPythonApp = new wxPyApp(); @@ -188,7 +190,7 @@ public: "Get the current exit behaviour setting."); #if 0 - // Get display mode that is used use. This is only used in framebuffer + // Get display mode that is in use. This is only used in framebuffer // wxWin ports (such as wxMGL). virtual wxVideoMode GetDisplayMode() const; @@ -257,7 +259,7 @@ public: #else %extend { static int GetComCtl32Version() - { PyErr_SetNone(PyExc_NotImplementedError); return 0; } + { wxPyRaiseNotImplemented(); return 0; } } #endif };