min and max setters added (xti)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2003-08-14 17:59:34 +00:00
parent eddf00d7a8
commit fae7d15809

View File

@ -48,6 +48,8 @@ public:
// operations // operations
virtual void SetValue(int val) = 0; virtual void SetValue(int val) = 0;
virtual void SetMin(int minVal) { SetRange ( minVal , m_max ) ; }
virtual void SetMax(int maxVal) { SetRange ( m_min , maxVal ) ; }
virtual void SetRange(int minVal, int maxVal) virtual void SetRange(int minVal, int maxVal)
{ {
m_min = minVal; m_min = minVal;