]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/spinctrl.cpp
better fix for #11803, don't set iconized state for hidden window
[wxWidgets.git] / src / gtk / spinctrl.cpp
index bae8e7ea5b27b68dd9e4b3d26c9359591a5cfc11..6ba4071d2833e7138ea2d65eba3dc7d927ca66d3 100644 (file)
@@ -218,9 +218,6 @@ void wxSpinCtrlGTKBase::DoSetValue( double value )
 {
     wxCHECK_RET( (m_widget != NULL), wxT("invalid spin button") );
 
-    if (wxIsKindOf(this, wxSpinCtrl))
-        value = wxRound( value );
-
     GtkDisableEvents();
     gtk_spin_button_set_value( GTK_SPIN_BUTTON(m_widget), value);
     GtkEnableEvents();