From: Vadim Zeitlin Date: Tue, 20 Nov 2001 14:58:41 +0000 (+0000) Subject: compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9a7d61215732c0964e51260038cd586b7583fdec?hp=c63767311fff82e2012fa1cd314e89ddebc9511e compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/text/text.cpp b/samples/text/text.cpp index 456e42c53d..fe6307d5f7 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -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)"),