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:
Vadim Zeitlin
2008-03-06 17:11:37 +00:00
parent 9cb0c458c4
commit 647d7ce90b

View File

@@ -1500,13 +1500,13 @@ void MyFrame::OnIdle( wxIdleEvent& event )
wxString msg; wxString msg;
msg.Printf( msg.Printf(
#ifdef __WXMSW__ #ifdef __WXMSW__
_T("Focus: wxWindow = %p, HWND = %08x"), _T("Focus: wxWindow = %p, HWND = %p"),
#else #else
_T("Focus: wxWindow = %p"), _T("Focus: wxWindow = %p"),
#endif #endif
s_windowFocus s_windowFocus
#ifdef __WXMSW__ #ifdef __WXMSW__
, (unsigned int) s_windowFocus->GetHWND() , s_windowFocus->GetHWND()
#endif #endif
); );