X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..ba1e9d6cede4073faf42e3e290a030965a2205c3:/include/wx/mac/slider.h 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; }