diff --git a/samples/text/text.cpp b/samples/text/text.cpp index 40117ebde4..7c2431edf1 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -668,7 +668,7 @@ void MyTextCtrl::OnMouseEvent(wxMouseEvent& ev) wxTextCtrlHitTestResult rc = HitTest(ev.GetPosition(), &pos); if ( rc != wxTE_HT_UNKNOWN ) { - msg << _T("at position ") << pos; + msg << _T("at position ") << pos << _T(' '); } msg << _T("[Flags: ")