From: Ove Kaaven Date: Thu, 15 Apr 1999 15:38:43 +0000 (+0000) Subject: (ugh, I need to get a faster computer) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/69e15b78afa1f5052457456a8849e65ba3d1a0f4 (ugh, I need to get a faster computer) Applied the more beautiful compilation fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 9142eaa632..d300952a7f 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -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 diff --git a/src/gtk1/textctrl.cpp b/src/gtk1/textctrl.cpp index 9142eaa632..d300952a7f 100644 --- a/src/gtk1/textctrl.cpp +++ b/src/gtk1/textctrl.cpp @@ -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