X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..b54129836cbc680fbeb338bb6087c1a4f80bdf18:/interface/wx/spinbutt.h diff --git a/interface/wx/spinbutt.h b/interface/wx/spinbutt.h index 054bce9150..b8518c5a59 100644 --- a/interface/wx/spinbutt.h +++ b/interface/wx/spinbutt.h @@ -8,7 +8,6 @@ /** @class wxSpinEvent - @wxheader{spinbutt.h} This event class is used for the events generated by wxSpinButton and wxSpinCtrl. @@ -41,7 +40,6 @@ public: /** @class wxSpinButton - @wxheader{spinbutt.h} A wxSpinButton has two small up and down (or left and right) arrow buttons. It is often used next to a text control for increment and decrementing a value. @@ -109,7 +107,7 @@ public: /** Destructor, destroys the spin button control. */ - ~wxSpinButton(); + virtual ~wxSpinButton(); /** Scrollbar creation function called by the spin button constructor. @@ -126,21 +124,21 @@ public: @see SetRange() */ - int GetMax() const; + virtual int GetMax() const; /** Returns the minimum permissible value. @see SetRange() */ - int GetMin() const; + virtual int GetMin() const; /** Returns the current spin button value. @see SetValue() */ - int GetValue() const; + virtual int GetValue() const; /** Sets the range of the spin button. @@ -152,7 +150,7 @@ public: @see GetMin(), GetMax() */ - void SetRange(int min, int max); + virtual void SetRange(int min, int max); /** Sets the value of the spin button. @@ -160,6 +158,6 @@ public: @param value The value for the spin button. */ - void SetValue(int value); + virtual void SetValue(int value); };