]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 12 Dec 2003 23:53:05 +0000 (23:53 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 12 Dec 2003 23:53:05 +0000 (23:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/textctrl.cpp
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
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