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:
parent
eddf00d7a8
commit
fae7d15809
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user