]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/textctrl.cpp
added wsock32.lib (patch 880683)
[wxWidgets.git] / src / gtk1 / textctrl.cpp
index d4d643282f4397f33edb127ab42fc72912c85b3b..79726b054c080070364ea74d91b3b28401793a45 100644 (file)
@@ -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