X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a72f4631fe5ab7ebeefdacf8ec9c826ea962133f..3a9becbd5439254a77e7dbc0278d80117a397264:/wxPython/src/_scrolbar.i diff --git a/wxPython/src/_scrolbar.i b/wxPython/src/_scrolbar.i index cb87fb1013..2bcc4eddb5 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, @@ -51,9 +51,13 @@ public: bool IsVertical() const { return (m_windowStyle & wxVERTICAL) != 0; } virtual void SetThumbPosition(int viewStart); - virtual void SetScrollbar(int position, int thumbSize, - int range, int pageSize, - bool refresh = true); + + DocDeclStr( + virtual void , SetScrollbar(int position, int thumbSize, + int range, int pageSize, + bool refresh = true), + "", ""); + static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);