]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/spinbutt.cpp
assert in OnSelected() fixed
[wxWidgets.git] / src / gtk / spinbutt.cpp
index 3d75387d4dbeafde3f23f8319d80fab9d726b2ef..58e83b7df77025663bbe7a7e70f498fe97c3efa3 100644 (file)
@@ -116,7 +116,8 @@ bool wxSpinButton::Create(wxWindow *parent,
 
     m_widget = gtk_spin_button_new( m_adjust, 0, 0 );
 
-    gtk_spin_button_set_wrap( GTK_SPIN_BUTTON(m_widget), (m_windowStyle & wxSP_WRAP) );
+    gtk_spin_button_set_wrap( GTK_SPIN_BUTTON(m_widget),
+                              (int)(m_windowStyle & wxSP_WRAP) );
 
     gtk_signal_connect( GTK_OBJECT (m_adjust),
                         "value_changed",