X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..5bc97d1b81910a82e249f6227798b42089149f94:/include/wx/slider.h diff --git a/include/wx/slider.h b/include/wx/slider.h index 09cd35c8b5..31fbe554bc 100644 --- a/include/wx/slider.h +++ b/include/wx/slider.h @@ -52,6 +52,8 @@ public: virtual void SetRange(int minValue, int maxValue) = 0; virtual int GetMin() const = 0; virtual int GetMax() const = 0; + void SetMin( int minValue ) { SetRange( minValue , GetMax() ) ; } + void SetMax( int maxValue ) { SetRange( GetMin() , maxValue ) ; } // the line/page size is the increment by which the slider moves when // cursor arrow key/page up or down are pressed (clicking the mouse is like