]> git.saurik.com Git - wxWidgets.git/commitdiff
Added SetMin/SetMax
authorRobin Dunn <robin@alldunn.com>
Wed, 29 Oct 2003 04:28:53 +0000 (04:28 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 29 Oct 2003 04:28:53 +0000 (04:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/slider.h

index 7c49d1ff0ce83c410ee189525317ffec13ba9084..9599a60c10ba14943c24b1dbaa80e195e144490b 100644 (file)
@@ -59,6 +59,9 @@ public:
   inline int GetMin() const { return m_rangeMin; }
   inline int GetMax() const { return m_rangeMax; }
 
+  void SetMin(int minValue) { SetRange(minValue, m_rangeMax); }
+  void SetMax(int maxValue) { SetRange(m_rangeMin, maxValue); }
+    
   // For trackbars only
   void SetTickFreq(int n, int pos);
   inline int GetTickFreq() const { return m_tickFreq; }