From 5819297093708ae3198004cf0c533b4db248e9ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 12 Dec 2003 23:53:05 +0000 Subject: [PATCH] compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/textctrl.cpp | 2 +- src/gtk1/textctrl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index d4d643282f..79726b054c 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -684,7 +684,7 @@ wxString wxTextCtrl::GetLineText( long lineNo ) const GtkTextIter end; gtk_text_buffer_get_end_iter(text_buffer,&end ); gchar *text = gtk_text_buffer_get_text(text_buffer,&line,&end,TRUE); - wxString result(text); + wxString result(wxGTK_CONV_BACK(text)); g_free(text); return result.BeforeFirst(wxT('\n')); #endif diff --git a/src/gtk1/textctrl.cpp b/src/gtk1/textctrl.cpp index d4d643282f..79726b054c 100644 --- a/src/gtk1/textctrl.cpp +++ b/src/gtk1/textctrl.cpp @@ -684,7 +684,7 @@ wxString wxTextCtrl::GetLineText( long lineNo ) const GtkTextIter end; gtk_text_buffer_get_end_iter(text_buffer,&end ); gchar *text = gtk_text_buffer_get_text(text_buffer,&line,&end,TRUE); - wxString result(text); + wxString result(wxGTK_CONV_BACK(text)); g_free(text); return result.BeforeFirst(wxT('\n')); #endif -- 2.45.2