From: Vadim Zeitlin Date: Fri, 21 May 2010 12:51:14 +0000 (+0000) Subject: Fix focus debugging in the controls sample. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d3eb13d2aa8b7f9e2da9921d4a64b9aa8488ff19 Fix focus debugging in the controls sample. A wrong format string was used in Printf() resulting in useless output. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 330fcd6efc..da9256e9b7 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -2011,9 +2011,9 @@ void MyFrame::OnIdle( wxIdleEvent& WXUNUSED(event) ) if ( focus ) { msg.Printf( - wxT("Focus: %s") + "Focus: %s" #ifdef __WXMSW__ - , wxT(", HWND = %08x") + ", HWND = %08x" #endif , s_windowFocus->GetName().c_str() #ifdef __WXMSW__