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:
Robin Dunn
2004-06-02 20:53:05 +00:00
parent 6fd864d159
commit d55734102e
23 changed files with 104 additions and 84 deletions

View File

@@ -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,