X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..9165401fbedc620814401be5e6d6729dfa59c311:/wxPython/src/_sashwin.i diff --git a/wxPython/src/_sashwin.i b/wxPython/src/_sashwin.i index df6c53ebbf..2ae31351a8 100644 --- a/wxPython/src/_sashwin.i +++ b/wxPython/src/_sashwin.i @@ -56,14 +56,14 @@ public: %pythonAppend wxSashWindow "self._setOORInfo(self)" %pythonAppend wxSashWindow() "" - wxSashWindow(wxWindow* parent, wxWindowID id, + wxSashWindow(wxWindow* parent, wxWindowID id=-1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCLIP_CHILDREN | wxSW_3D, const wxString& name = wxPySashNameStr); - %name(PreSashWindow)wxSashWindow(); + %RenameCtor(PreSashWindow, wxSashWindow()); - 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 | wxSW_3D, @@ -244,14 +244,14 @@ public: %pythonAppend wxSashLayoutWindow "self._setOORInfo(self)" %pythonAppend wxSashLayoutWindow() "" - wxSashLayoutWindow(wxWindow* parent, wxWindowID id, + wxSashLayoutWindow(wxWindow* parent, wxWindowID id=-1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxCLIP_CHILDREN | wxSW_3D, const wxString& name = wxPySashLayoutNameStr); - %name(PreSashLayoutWindow)wxSashLayoutWindow(); + %RenameCtor(PreSashLayoutWindow, wxSashLayoutWindow()); - 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 | wxSW_3D,