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
This commit is contained in:
Vadim Zeitlin
2010-05-21 12:51:14 +00:00
parent 52212bcb4a
commit d3eb13d2aa

View File

@@ -2011,9 +2011,9 @@ void MyFrame::OnIdle( wxIdleEvent& WXUNUSED(event) )
if ( focus ) if ( focus )
{ {
msg.Printf( msg.Printf(
wxT("Focus: %s") "Focus: %s"
#ifdef __WXMSW__ #ifdef __WXMSW__
, wxT(", HWND = %08x") ", HWND = %08x"
#endif #endif
, s_windowFocus->GetName().c_str() , s_windowFocus->GetName().c_str()
#ifdef __WXMSW__ #ifdef __WXMSW__