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:
Paul Cornett
2007-09-14 04:22:04 +00:00
parent 64f175203f
commit c69dd6e4b0

View File

@@ -175,7 +175,8 @@ int wxSpinCtrl::GetValue() const
wxSpinCtrl_GtkDisableEvents( this );
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 );
return m_pos;