From: jean-pierre roux Date: Thu, 16 Apr 2009 16:08:23 +0000 (+0000) Subject: Fix min max troubles X-Git-Tag: EED.02Oct2009~56 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=90a3b8cf3681909afa77662aecb5be88cec0beb3;p=bbtk.git Fix min max troubles --- diff --git a/packages/wx/src/bbwxSlider.cxx b/packages/wx/src/bbwxSlider.cxx index 7022095..1a5bd25 100644 --- a/packages/wx/src/bbwxSlider.cxx +++ b/packages/wx/src/bbwxSlider.cxx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbwxSlider.cxx,v $ Language: C++ - Date: $Date: 2009/04/16 14:17:50 $ - Version: $Revision: 1.22 $ + Date: $Date: 2009/04/16 16:08:23 $ + Version: $Revision: 1.23 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -76,6 +76,8 @@ namespace bbwx // Accessors void SetValue(int v) { mwxSlider->SetValue(v); } int GetValue() { return mwxSlider->GetValue(); } + int GetMin() {return min;} + int GetMax() {return max;} void SetRange(int min, int max); // Update the texts which display the min/max/current values of the slider void RefreshLabels(); @@ -416,7 +418,13 @@ namespace bbwx bbtkDebugMessage("process",3, "Slider "<