From 7e55544629f172d617ad2d3772fe615bf5cd4830 Mon Sep 17 00:00:00 2001 From: Ron Lee Date: Sun, 30 Jun 2002 23:48:10 +0000 Subject: [PATCH] fixed some pesky compile warnings, hope this doesn't nuke some unsuspecting platform.. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wincmn.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 91bdb40bc8..e0d1e1af70 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -1952,7 +1952,7 @@ struct WXDLLEXPORT wxWindowNext void wxWindowBase::CaptureMouse() { - wxLogTrace(_T("mousecapture"), _T("CaptureMouse(0x%08x)"), this); + wxLogTrace(_T("mousecapture"), _T("CaptureMouse(%p)"), this); wxWindow *winOld = GetCapture(); if ( winOld ) @@ -1972,7 +1972,7 @@ void wxWindowBase::CaptureMouse() void wxWindowBase::ReleaseMouse() { - wxLogTrace(_T("mousecapture"), _T("ReleaseMouse(0x%08x)"), this); + wxLogTrace(_T("mousecapture"), _T("ReleaseMouse(%p)"), this); wxASSERT_MSG( GetCapture() == this, wxT("attempt to release mouse, but this window hasn't captured it") ); @@ -1989,7 +1989,7 @@ void wxWindowBase::ReleaseMouse() //else: stack is empty, no previous capture wxLogTrace(_T("mousecapture"), - _T("After ReleaseMouse() mouse is captured by 0x%08x"), + _T("After ReleaseMouse() mouse is captured by %p"), GetCapture()); } @@ -2005,3 +2005,4 @@ wxWindow* wxGetTopLevelParent(wxWindow *win) return win; } +// vi:sts=4:sw=4:et -- 2.45.2