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:
@@ -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__
|
||||||
|
Reference in New Issue
Block a user