Added more default args as needed to allow most window types to be
constructed with only the parent window arg. In some cases other args may be required for normal operation, but they can usually be set after construction. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -87,7 +87,8 @@ public:
|
||||
%pythonAppend wxCheckBox() ""
|
||||
|
||||
DocCtorStr(
|
||||
wxCheckBox(wxWindow* parent, wxWindowID id, const wxString& label,
|
||||
wxCheckBox(wxWindow* parent, wxWindowID id=-1,
|
||||
const wxString& label = wxPyEmptyString,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
@@ -102,7 +103,8 @@ public:
|
||||
|
||||
|
||||
DocDeclStr(
|
||||
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,
|
||||
|
Reference in New Issue
Block a user