Explicitly convert from UTF-8 in wxSpinCtrl::GetTextValue()
Use UTF-8 encoding explicitly rather than relying on it being the default.
This commit is contained in:
parent
f64da1eb36
commit
4b263ff10a
@ -218,7 +218,7 @@ wxString wxSpinCtrlGTKBase::GetTextValue() const
|
||||
{
|
||||
wxCHECK_MSG(m_widget, wxEmptyString, "invalid spin button");
|
||||
|
||||
return gtk_entry_get_text( GTK_ENTRY(m_widget) );
|
||||
return wxGTK_CONV_BACK(gtk_entry_get_text( GTK_ENTRY(m_widget) ));
|
||||
}
|
||||
|
||||
bool wxSpinCtrlGTKBase::GetSnapToTicks() const
|
||||
|
Loading…
Reference in New Issue
Block a user