compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-12-12 23:53:05 +00:00
parent 0a904ad412
commit 5819297093
2 changed files with 2 additions and 2 deletions

View 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