From af17155e907c863dbba2bbf1c6a91a083569404c Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 29 Oct 2003 04:28:53 +0000 Subject: [PATCH] Added SetMin/SetMax git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/slider.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/wx/mac/slider.h b/include/wx/mac/slider.h index 7c49d1ff0c..9599a60c10 100644 --- a/include/wx/mac/slider.h +++ b/include/wx/mac/slider.h @@ -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; } -- 2.50.0