wxSpinCtrl values are always integral, they don't need to be rounded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user