X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d55734102e25f5d11bcb4bbac39083320afd3699..8423f117639968a8e21344c52c5bc746596508c6:/wxPython/src/_notebook.i diff --git a/wxPython/src/_notebook.i b/wxPython/src/_notebook.i index ab17747cd7..e058b6e9bf 100644 --- a/wxPython/src/_notebook.i +++ b/wxPython/src/_notebook.i @@ -168,6 +168,7 @@ class wxNotebook : public wxBookCtrl { public: %pythonAppend wxNotebook "self._setOORInfo(self)" %pythonAppend wxNotebook() "" + %typemap(out) wxNotebook*; // turn off this typemap wxNotebook(wxWindow *parent, wxWindowID id=-1, @@ -177,6 +178,9 @@ public: const wxString& name = wxPyNOTEBOOK_NAME); %name(PreNotebook)wxNotebook(); + // Turn it back on again + %typemap(out) wxNotebook* { $result = wxPyMake_wxObject($1, $owner); } + bool Create(wxWindow *parent, wxWindowID id=-1, const wxPoint& pos = wxDefaultPosition,