]> git.sesse.net Git - vlc/commitdiff
Fix the integer widget
authorChristophe Mutricy <xtophe@videolan.org>
Sun, 21 May 2006 17:31:06 +0000 (17:31 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sun, 21 May 2006 17:31:06 +0000 (17:31 +0000)
modules/gui/wxwidgets/dialogs/preferences_widgets.cpp

index 582543282567585cb8f4b0fd50b907587e6edf05..efea00d1c87d36bd28f92c78389dcf0085dd5c2e 100644 (file)
@@ -766,12 +766,11 @@ int IntegerConfigControl::GetIntValue()
 {
     /* We avoid using GetValue because of a recursion bug with wxSpinCtrl with
      * wxGTK. */
-    return i_value; //spin->GetValue();
+    return spin->GetValue();
 }
 
 void IntegerConfigControl::OnUpdate( wxCommandEvent &event )
 {
-    i_value = event.GetInt();
     ConfigControl::OnUpdate( event );
 }
 void IntegerConfigControl::OnUpdateScroll( wxScrollEvent &event )