]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/gauge.cpp
dmars_smake support (bakefile cvs, patch 942877)
[wxWidgets.git] / samples / widgets / gauge.cpp
index c1a7f62d67efb09174a3ad28f673db9d7ea31510..d887d1375477bb33099c3fa660c7a644f0719e3a 100644 (file)
@@ -333,6 +333,7 @@ void GaugeWidgetsPage::OnButtonSetRange(wxCommandEvent& WXUNUSED(event))
     if ( !m_textRange->GetValue().ToULong(&val) )
         return;
 
+    m_range = val;
     m_gauge->SetRange(val);
 }