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:
@@ -146,13 +146,13 @@ public:
|
||||
%pythonAppend wxDynamicSashWindow "self._setOORInfo(self)"
|
||||
%pythonAppend wxDynamicSashWindow() ""
|
||||
|
||||
wxDynamicSashWindow(wxWindow *parent, wxWindowID id,
|
||||
wxDynamicSashWindow(wxWindow *parent, wxWindowID id=-1,
|
||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
||||
long style = wxCLIP_CHILDREN | wxDS_MANAGE_SCROLLBARS | wxDS_DRAG_CORNER,
|
||||
const wxString& name = wxPyDynamicSashNameStr);
|
||||
%name(PreDynamicSashWindow)wxDynamicSashWindow();
|
||||
|
||||
bool Create(wxWindow *parent, wxWindowID id,
|
||||
bool Create(wxWindow *parent, wxWindowID id=-1,
|
||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
||||
long style = wxCLIP_CHILDREN | wxDS_MANAGE_SCROLLBARS | wxDS_DRAG_CORNER,
|
||||
const wxString& name = wxPyDynamicSashNameStr);
|
||||
@@ -186,8 +186,8 @@ public:
|
||||
%pythonAppend wxEditableListBox "self._setOORInfo(self)"
|
||||
%pythonAppend wxEditableListBox() ""
|
||||
|
||||
wxEditableListBox(wxWindow *parent, wxWindowID id,
|
||||
const wxString& label,
|
||||
wxEditableListBox(wxWindow *parent, wxWindowID id=-1,
|
||||
const wxString& label = wxPyEmptyString,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxEL_ALLOW_NEW | wxEL_ALLOW_EDIT | wxEL_ALLOW_DELETE,
|
||||
|
Reference in New Issue
Block a user