X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/949853a49c6a379d5673632fac3e275cc5757d9d..761df41e86ceeed56d32c038a6c9f88554d4f47a:/wxPython/src/windows2.i diff --git a/wxPython/src/windows2.i b/wxPython/src/windows2.i index 911a0c1905..c05e23d81e 100644 --- a/wxPython/src/windows2.i +++ b/wxPython/src/windows2.i @@ -79,6 +79,9 @@ public: long style = 0, char* name = "notebook"); + %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" + %pragma(python) addtomethod = "wxPreNotebook:val._setOORInfo(val)" + int GetPageCount(); int SetSelection(int nPage); void AdvanceSelection(bool bForward = TRUE); @@ -173,6 +176,8 @@ public: long style=wxSP_3D|wxCLIP_CHILDREN, char* name = "splitterWindow"); + %pragma(python) addtomethod = "__init__:self._setOORInfo(self)" + %pragma(python) addtomethod = "wxPreSplitterWindow:val._setOORInfo(val)" // Gets the only or left/top pane wxWindow *GetWindow1(); @@ -257,6 +262,8 @@ public: wxTaskBarIcon(); ~wxTaskBarIcon(); + //%pragma(python) addtomethod = "__init__:self._setOORInfo(self)" + // We still use the magic methods here since that is the way it is documented... %pragma(python) addtomethod = "__init__:wx._checkForCallback(self, 'OnMouseMove', wxEVT_TASKBAR_MOVE)" %pragma(python) addtomethod = "__init__:wx._checkForCallback(self, 'OnLButtonDown', wxEVT_TASKBAR_LEFT_DOWN)"