X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea46eba0078d7891756b6f648acdeaf5a4109a2c..4e3ad7c095f0a047b48445d76316fc20f394f3e9:/src/gtk/spinctrl.cpp diff --git a/src/gtk/spinctrl.cpp b/src/gtk/spinctrl.cpp index 87acf9dcb6..f04242957b 100644 --- a/src/gtk/spinctrl.cpp +++ b/src/gtk/spinctrl.cpp @@ -208,7 +208,7 @@ void wxSpinCtrl::SetValue( const wxString& value ) { // invalid number - set text as is (wxMSW compatible) GtkDisableEvents(); - gtk_entry_set_text( GTK_ENTRY(m_widget), value.mbc_str() ); + gtk_entry_set_text( GTK_ENTRY(m_widget), wxGTK_CONV( value ) ); GtkEnableEvents(); } }