X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..015fd9ef4833ec3d8b0043a1c7e448c8be4f734a:/wxPython/src/_slider.i diff --git a/wxPython/src/_slider.i b/wxPython/src/_slider.i index 17d51db2e6..6ecb209afe 100644 --- a/wxPython/src/_slider.i +++ b/wxPython/src/_slider.i @@ -34,8 +34,8 @@ public: %pythonAppend wxSlider "self._setOORInfo(self)" %pythonAppend wxSlider() "" - wxSlider(wxWindow* parent, wxWindowID id, - int value, int minValue, int maxValue, + wxSlider(wxWindow* parent, wxWindowID id=-1, + int value=0, int minValue=0, int maxValue=100, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSL_HORIZONTAL, @@ -43,8 +43,8 @@ public: const wxString& name = wxPySliderNameStr); %name(PreSlider)wxSlider(); - bool Create(wxWindow* parent, wxWindowID id, - int value, int minValue, int maxValue, + bool Create(wxWindow* parent, wxWindowID id=-1, + int value=0, int minValue=0, int maxValue=100, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSL_HORIZONTAL,