]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 20 Nov 2001 14:58:41 +0000 (14:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 20 Nov 2001 14:58:41 +0000 (14:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/text/text.cpp

index 456e42c53d1c8efeb44ab3fdf3bc18161f357a83..fe6307d5f71552c0113c143a6e213bc2bfdf8178 100644 (file)
@@ -691,7 +691,7 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event)
                 long from, to;
                 GetSelection(&from, &to);
 
-                wxString sel = GetSelection();
+                wxString sel = GetStringSelection();
 
                 wxLogMessage(_T("Selection: from %ld to %ld."), from, to);
                 wxLogMessage(_T("Selection = '%s' (len = %u)"),