public:
%pythonAppend wxStaticBox "self._setOORInfo(self)"
%pythonAppend wxStaticBox() ""
+ %typemap(out) wxStaticBox*; // turn off this typemap
- wxStaticBox(wxWindow* parent, wxWindowID id, const wxString& label,
+ wxStaticBox(wxWindow* parent, wxWindowID id=-1,
+ const wxString& label = wxPyEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPyStaticBoxNameStr);
- %name(PreStaticBox)wxStaticBox();
+ %RenameCtor(PreStaticBox, wxStaticBox());
- bool Create(wxWindow* parent, wxWindowID id, const wxString& label,
+ // 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,
const wxSize& size = wxDefaultSize,
long style = 0,
%pythonAppend wxStaticLine "self._setOORInfo(self)"
%pythonAppend wxStaticLine() ""
- wxStaticLine( wxWindow *parent, wxWindowID id,
+ wxStaticLine( wxWindow *parent, wxWindowID id=-1,
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
long style = wxLI_HORIZONTAL,
const wxString& name = wxPyStaticTextNameStr);
- %name(PreStaticLine)wxStaticLine();
+ %RenameCtor(PreStaticLine, wxStaticLine());
- bool Create( wxWindow *parent, wxWindowID id,
+ bool Create( wxWindow *parent, wxWindowID id=-1,
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
long style = wxLI_HORIZONTAL,
%pythonAppend wxStaticText "self._setOORInfo(self)"
%pythonAppend wxStaticText() ""
- wxStaticText(wxWindow* parent, wxWindowID id, const wxString& label,
+ wxStaticText(wxWindow* parent, wxWindowID id=-1,
+ const wxString& label = wxPyEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPyStaticTextNameStr);
- %name(PreStaticText)wxStaticText();
+ %RenameCtor(PreStaticText, wxStaticText());
- bool Create(wxWindow* parent, wxWindowID id, const wxString& label,
+ bool Create(wxWindow* parent, wxWindowID id=-1,
+ const wxString& label = wxPyEmptyString,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
%pythonAppend wxStaticBitmap "self._setOORInfo(self)"
%pythonAppend wxStaticBitmap() ""
- wxStaticBitmap(wxWindow* parent, wxWindowID id,
- const wxBitmap& bitmap,
+ wxStaticBitmap(wxWindow* parent, wxWindowID id=-1,
+ const wxBitmap& bitmap = wxNullBitmap,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPyStaticBitmapNameStr);
- %name(PreStaticBitmap)wxStaticBitmap();
+ %RenameCtor(PreStaticBitmap, wxStaticBitmap());
- bool Create(wxWindow* parent, wxWindowID id,
- const wxBitmap& bitmap,
+ bool Create(wxWindow* parent, wxWindowID id=-1,
+ const wxBitmap& bitmap = wxNullBitmap,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,