From 86d43dcfc03e67d78410392d529568e6c7eaf4d1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 17 Apr 2000 22:54:57 +0000 Subject: [PATCH] test for GetLastPosition() added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/text/text.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/text/text.cpp b/samples/text/text.cpp index 353da6b737..ad6efa4587 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -492,11 +492,12 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event) "Current line, column: (%ld, %ld)\n" "Number of lines: %ld\n" "Current line length: %ld\n" - "Total text length: %ld"), + "Total text length: %u (%ld)"), pos, line, column, GetNumberOfLines(), GetLineLength(line), + GetValue().length(), GetLastPosition()); } break;