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:
@@ -34,7 +34,7 @@ public:
|
||||
%pythonAppend wxListBox "self._setOORInfo(self)"
|
||||
%pythonAppend wxListBox() ""
|
||||
|
||||
wxListBox(wxWindow* parent, wxWindowID id,
|
||||
wxListBox(wxWindow* parent, wxWindowID id=-1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
//int choices=0, wxString* choices_array = NULL,
|
||||
@@ -44,7 +44,7 @@ public:
|
||||
const wxString& name = wxPyListBoxNameStr);
|
||||
%name(PreListBox)wxListBox();
|
||||
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
bool Create(wxWindow* parent, wxWindowID id=-1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
//int choices=0, wxString* choices_array = NULL,
|
||||
@@ -148,7 +148,7 @@ public:
|
||||
%pythonAppend wxCheckListBox "self._setOORInfo(self)"
|
||||
%pythonAppend wxCheckListBox() ""
|
||||
|
||||
wxCheckListBox(wxWindow *parent, wxWindowID id,
|
||||
wxCheckListBox(wxWindow *parent, wxWindowID id=-1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
//int choices = 0, wxString* choices_array = NULL,
|
||||
@@ -158,7 +158,7 @@ public:
|
||||
const wxString& name = wxPyListBoxNameStr);
|
||||
%name(PreCheckListBox)wxCheckListBox();
|
||||
|
||||
bool Create(wxWindow *parent, wxWindowID id,
|
||||
bool Create(wxWindow *parent, wxWindowID id=-1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
//int choices = 0, wxString* choices_array = NULL,
|
||||
|
Reference in New Issue
Block a user