X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/src/_scrolbar.i diff --git a/wxPython/src/_scrolbar.i b/wxPython/src/_scrolbar.i index a4c01b1c92..eef02eb2f5 100644 --- a/wxPython/src/_scrolbar.i +++ b/wxPython/src/_scrolbar.i @@ -33,7 +33,7 @@ public: long style = wxSB_HORIZONTAL, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxPyScrollBarNameStr); - %name(PreScrollBar)wxScrollBar(); + %RenameCtor(PreScrollBar, wxScrollBar()); bool Create(wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, @@ -53,7 +53,7 @@ public: virtual void SetThumbPosition(int viewStart); virtual void SetScrollbar(int position, int thumbSize, int range, int pageSize, - bool refresh = True); + bool refresh = true); static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);