]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/text/text.cpp
mac cleanup, cgcolor changes
[wxWidgets.git] / samples / text / text.cpp
index e40562aeb4443032c6e39c0d7081abf849b27c8a..bf9b9dc253e61d77ddd97de0fc5ace51af8c8fe5 100644 (file)
@@ -921,6 +921,10 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event)
                 wxLogMessage(_T("Selection = '%s' (len = %u)"),
                              sel.c_str(),
                              (unsigned int) sel.length());
+
+                const wxString text = GetLineText(line);
+                wxLogMessage(_T("Current line: \"%s\"; length = %lu"),
+                             text.c_str(), text.length());
             }
             break;