fix warnings about conversion to bool, closes #14381
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -195,7 +195,7 @@ bool wxSpinCtrlGTKBase::GetSnapToTicks() const
|
||||
{
|
||||
wxCHECK_MSG(m_widget, false, "invalid spin button");
|
||||
|
||||
return gtk_spin_button_get_snap_to_ticks( GTK_SPIN_BUTTON(m_widget) );
|
||||
return gtk_spin_button_get_snap_to_ticks( GTK_SPIN_BUTTON(m_widget) ) != 0;
|
||||
}
|
||||
|
||||
void wxSpinCtrlGTKBase::SetValue( const wxString& value )
|
||||
|
Reference in New Issue
Block a user