]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/gauge.cpp
Removed unused variable.
[wxWidgets.git] / samples / widgets / gauge.cpp
index c1a7f62d67efb09174a3ad28f673db9d7ea31510..f20aac08ef55b97e77199854fd7feac5cff58467 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Program:     wxWindows Widgets Sample
+// Program:     wxWidgets Widgets Sample
 // Name:        gauge.cpp
 // Purpose:     Part of the widgets sample showing wxGauge
 // Author:      Vadim Zeitlin
@@ -333,6 +333,7 @@ void GaugeWidgetsPage::OnButtonSetRange(wxCommandEvent& WXUNUSED(event))
     if ( !m_textRange->GetValue().ToULong(&val) )
         return;
 
+    m_range = val;
     m_gauge->SetRange(val);
 }