+
+ case WXK_F10:
+ {
+ long from, to;
+ GetSelection(&from, &to);
+
+ wxString sel = GetStringSelection();
+
+ wxLogMessage(_T("Selection: from %ld to %ld."), from, to);
+ wxLogMessage(_T("Selection = '%s' (len = %u)"),
+ sel.c_str(), sel.length());
+ }