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;