[ 1793012 ] wxSpinCtrl::SetValue() doesn't update internal counter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -181,6 +181,7 @@ void wxSpinCtrl::SetValue( int value )
|
|||||||
|
|
||||||
GtkDisableEvents();
|
GtkDisableEvents();
|
||||||
gtk_spin_button_set_value((GtkSpinButton*)m_widget, value);
|
gtk_spin_button_set_value((GtkSpinButton*)m_widget, value);
|
||||||
|
m_pos = value;
|
||||||
GtkEnableEvents();
|
GtkEnableEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user