X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d55734102e25f5d11bcb4bbac39083320afd3699..b17dd4ceee210d51cb5ff36cf5f135b34cd2ebb6:/wxPython/src/_statctrls.i?ds=sidebyside diff --git a/wxPython/src/_statctrls.i b/wxPython/src/_statctrls.i index 3c15670aaf..9c2df37ac9 100644 --- a/wxPython/src/_statctrls.i +++ b/wxPython/src/_statctrls.i @@ -29,6 +29,7 @@ class wxStaticBox : public wxControl { public: %pythonAppend wxStaticBox "self._setOORInfo(self)" %pythonAppend wxStaticBox() "" + %typemap(out) wxStaticBox*; // turn off this typemap wxStaticBox(wxWindow* parent, wxWindowID id=-1, const wxString& label = wxPyEmptyString, @@ -38,6 +39,9 @@ public: const wxString& name = wxPyStaticBoxNameStr); %name(PreStaticBox)wxStaticBox(); + // Turn it back on again + %typemap(out) wxStaticBox* { $result = wxPyMake_wxObject($1, $owner); } + bool Create(wxWindow* parent, wxWindowID id=-1, const wxString& label = wxPyEmptyString, const wxPoint& pos = wxDefaultPosition,