Jeremy Newton 622c128
diff -rupN wxWidgets-3.0.2-orig/src/gtk/spinbutt.cpp wxWidgets-3.0.2/src/gtk/spinbutt.cpp
Jeremy Newton 622c128
--- wxWidgets-3.0.2-orig/src/gtk/spinbutt.cpp	2014-10-06 17:33:44.000000000 -0400
Jeremy Newton 622c128
+++ wxWidgets-3.0.2/src/gtk/spinbutt.cpp	2015-08-22 10:44:00.743403904 -0400
Jeremy Newton 622c128
@@ -92,6 +92,10 @@ bool wxSpinButton::Create(wxWindow *pare
Jeremy Newton 622c128
     g_object_ref(m_widget);
Jeremy Newton 622c128
 
Jeremy Newton 622c128
     gtk_entry_set_width_chars(GTK_ENTRY(m_widget), 0);
Jeremy Newton 622c128
+#if GTK_CHECK_VERSION(3,12,0)
Jeremy Newton 622c128
+    if (gtk_check_version(3,12,0) == NULL)
Jeremy Newton 622c128
+        gtk_entry_set_max_width_chars(GTK_ENTRY(m_widget), 0);
Jeremy Newton 622c128
+#endif
Jeremy Newton 622c128
     gtk_spin_button_set_wrap( GTK_SPIN_BUTTON(m_widget),
Jeremy Newton 622c128
                               (int)(m_windowStyle & wxSP_WRAP) );
Jeremy Newton 622c128