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