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:
@@ -168,7 +168,7 @@ public:
|
||||
%pythonAppend wxTextCtrl "self._setOORInfo(self)"
|
||||
%pythonAppend wxTextCtrl() ""
|
||||
|
||||
wxTextCtrl(wxWindow* parent, wxWindowID id,
|
||||
wxTextCtrl(wxWindow* parent, wxWindowID id=-1,
|
||||
const wxString& value = wxPyEmptyString,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
@@ -177,7 +177,7 @@ public:
|
||||
const wxString& name = wxPyTextCtrlNameStr);
|
||||
%name(PreTextCtrl)wxTextCtrl();
|
||||
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
bool Create(wxWindow* parent, wxWindowID id=-1,
|
||||
const wxString& value = wxPyEmptyString,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
|
Reference in New Issue
Block a user