From 647d7ce90b029875dc1a3eac5b3b9a62c35ee27e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 6 Mar 2008 17:11:37 +0000 Subject: [PATCH] use %p for printing out a pointer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/text/text.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/text/text.cpp b/samples/text/text.cpp index 3908b8e4cd..e33d90679f 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -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 );