git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2181
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
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
{
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