]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/textctrl.cpp
Adapted those asserts and debug messages for Unicode.
[wxWidgets.git] / src / gtk1 / textctrl.cpp
index 9142eaa632ddf5532f803bafe676151a799d6a87..d300952a7f3c6580d8992de3d25b70e98458139a 100644 (file)
@@ -288,11 +288,7 @@ wxString wxTextCtrl::GetValue() const
     {
         gint len = gtk_text_get_length( GTK_TEXT(m_text) );
         char *text = gtk_editable_get_chars( GTK_EDITABLE(m_text), 0, len );
-#if wxUSE_UNICODE
         tmp = wxString(text,*wxConv_current);
-#else
-        tmp = text;
-#endif
         g_free( text );
     }
     else