]> git.saurik.com Git - wxWidgets.git/commitdiff
[ 1793012 ] wxSpinCtrl::SetValue() doesn't update internal counter
authorRobert Roebling <robert@roebling.de>
Thu, 13 Sep 2007 14:27:18 +0000 (14:27 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 13 Sep 2007 14:27:18 +0000 (14:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/spinctrl.cpp

index d14e452c6cc495d39c0733f20d0a0995c592c6a8..064212750118f41b84a09137397f26f69bd936e6 100644 (file)
@@ -181,6 +181,7 @@ void wxSpinCtrl::SetValue( int value )
 
     GtkDisableEvents();
     gtk_spin_button_set_value((GtkSpinButton*)m_widget, value);
+    m_pos = value;
     GtkEnableEvents();
 }