Lots of updates for Unicode and GTK 2.0 support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user