Avoid using the OOR typemap in the constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -30,12 +30,16 @@ class wxStatusBar : public wxWindow
|
||||
public:
|
||||
%pythonAppend wxStatusBar "self._setOORInfo(self)"
|
||||
%pythonAppend wxStatusBar() ""
|
||||
%typemap(out) wxStatusBar*; // turn off this typemap
|
||||
|
||||
wxStatusBar(wxWindow* parent, wxWindowID id = -1,
|
||||
long style = wxDEFAULT_STATUSBAR_STYLE,
|
||||
const wxString& name = wxPyStatusLineNameStr);
|
||||
%name(PreStatusBar)wxStatusBar();
|
||||
|
||||
// Turn it back on again
|
||||
%typemap(out) wxStatusBar* { $result = wxPyMake_wxObject($1, $owner); }
|
||||
|
||||
bool Create(wxWindow* parent, wxWindowID id=-1,
|
||||
long style = wxST_SIZEGRIP,
|
||||
const wxString& name = wxPyStatusLineNameStr);
|
||||
|
Reference in New Issue
Block a user