use %p for printing out a pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9cb0c458c4
commit
647d7ce90b
@ -1500,13 +1500,13 @@ void MyFrame::OnIdle( wxIdleEvent& event )
|
||||
wxString msg;
|
||||
msg.Printf(
|
||||
#ifdef __WXMSW__
|
||||
_T("Focus: wxWindow = %p, HWND = %08x"),
|
||||
_T("Focus: wxWindow = %p, HWND = %p"),
|
||||
#else
|
||||
_T("Focus: wxWindow = %p"),
|
||||
#endif
|
||||
s_windowFocus
|
||||
#ifdef __WXMSW__
|
||||
, (unsigned int) s_windowFocus->GetHWND()
|
||||
, s_windowFocus->GetHWND()
|
||||
#endif
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user