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