X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..7a344f1be4ff59b7b150ab52265693d4219de973:/interface/wx/scrolbar.h diff --git a/interface/wx/scrolbar.h b/interface/wx/scrolbar.h index d6574c6b06..8ca586e5b2 100644 --- a/interface/wx/scrolbar.h +++ b/interface/wx/scrolbar.h @@ -8,7 +8,6 @@ /** @class wxScrollBar - @wxheader{scrolbar.h} A wxScrollBar is a control that represents a horizontal or vertical scrollbar. It is distinct from the two scrollbars that some windows @@ -68,7 +67,7 @@ public: /** Destructor, destroying the scrollbar. */ - ~wxScrollBar(); + virtual ~wxScrollBar(); /** Scrollbar creation function called by the scrollbar constructor. @@ -88,28 +87,28 @@ public: @see SetScrollbar() */ - int GetPageSize() const; + virtual int GetPageSize() const; /** Returns the length of the scrollbar. @see SetScrollbar() */ - int GetRange() const; + virtual int GetRange() const; /** Returns the current position of the scrollbar thumb. @see SetThumbPosition() */ - int GetThumbPosition() const; + virtual int GetThumbPosition() const; /** Returns the thumb or 'view' size. @see SetScrollbar() */ - int GetThumbSize() const; + virtual int GetThumbSize() const; /** Sets the scrollbar properties. @@ -144,6 +143,6 @@ public: @see GetThumbPosition() */ - void SetThumbPosition(int viewStart); + virtual void SetThumbPosition(int viewStart); };