]> git.saurik.com Git - wxWidgets.git/commitdiff
use %p for printing out a pointer
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 6 Mar 2008 17:11:37 +0000 (17:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 6 Mar 2008 17:11:37 +0000 (17:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/text/text.cpp

index 3908b8e4cdbffb9240b461540a80f0212d1fecfc..e33d90679f50cfc0a5697be9d2c4dad373eb39d9 100644 (file)
@@ -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
                   );