X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/905f21104d7808e6cce29758f824e21520cb3ff7..bad79f58afcf3602c4ea5da5f2f0d1594f4e393d:/src/gtk1/textctrl.cpp 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