Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -686,7 +686,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
|
||||
|
@@ -686,7 +686,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
|
||||
|
Reference in New Issue
Block a user