git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2007-06-14 06:34:39 +00:00
parent 823fb291ae
commit 056b067f47

View File

@ -1121,7 +1121,7 @@ void wxComboBox::Replace( long from, long to, const wxString& value )
const char *utf8 = value.utf8_str();
#else
wxCharBuffer buffer(value.utf8_str());
char char *utf8 = buffer;
const char *utf8 = buffer;
#endif
gtk_editable_insert_text(GTK_EDITABLE(entry), utf8, strlen(utf8), &pos);
}