]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/spinctrl.cpp
(old) mingw32 compilation fixes
[wxWidgets.git] / src / gtk / spinctrl.cpp
index 7f04c114797b07ffdd02e73cba22c554b9eb9d65..cf1e437da661b143a10be1d71e3087fb7fa1f6bb 100644 (file)
@@ -116,7 +116,8 @@ bool wxSpinCtrl::Create(wxWindow *parent, wxWindowID id,
 
     m_widget = gtk_spin_button_new( m_adjust, 1, 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",