build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -175,7 +175,8 @@ int wxSpinCtrl::GetValue() const
|
|||||||
|
|
||||||
wxSpinCtrl_GtkDisableEvents( this );
|
wxSpinCtrl_GtkDisableEvents( this );
|
||||||
gtk_spin_button_update( GTK_SPIN_BUTTON(m_widget) );
|
gtk_spin_button_update( GTK_SPIN_BUTTON(m_widget) );
|
||||||
m_pos = int(gtk_spin_button_get_value(GTK_SPIN_BUTTON(m_widget)));
|
wx_const_cast(wxSpinCtrl*, this)->m_pos =
|
||||||
|
int(gtk_spin_button_get_value(GTK_SPIN_BUTTON(m_widget)));
|
||||||
wxSpinCtrl_GtkEnableEvents( this );
|
wxSpinCtrl_GtkEnableEvents( this );
|
||||||
|
|
||||||
return m_pos;
|
return m_pos;
|
||||||
|
Reference in New Issue
Block a user