From fae7d1580972e42b6bfea83abbcc19000e34c1a7 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 14 Aug 2003 17:59:34 +0000 Subject: [PATCH] min and max setters added (xti) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/spinbutt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/wx/spinbutt.h b/include/wx/spinbutt.h index f45c5f2f63..78b8c96225 100644 --- a/include/wx/spinbutt.h +++ b/include/wx/spinbutt.h @@ -48,6 +48,8 @@ public: // operations 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) { m_min = minVal;