From: Vadim Zeitlin Date: Wed, 23 Sep 2009 14:28:35 +0000 (+0000) Subject: Don't use deprecated integer mask with wxLogTrace(). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5ec3853fa651d515bd1c32174ffdd5511db77c57 Don't use deprecated integer mask with wxLogTrace(). Use string mask instead of the deprecated wxTraceMessages to fix compilation with WXWIN_COMPATIBILITY_2_8==0. Closes #11229. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 58803775e8..b518542e20 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -2682,7 +2682,7 @@ LRESULT WXDLLEXPORT APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message, WPARAM w // trace all messages: useful for the debugging but noticeably slows down // the code so don't do it by default #if wxDEBUG_LEVEL >= 2 - wxLogTrace(wxTraceMessages, + wxLogTrace("winmsg", wxT("Processing %s(hWnd=%p, wParam=%08lx, lParam=%08lx)"), wxGetMessageName(message), hWnd, (long)wParam, lParam); #endif // wxDEBUG_LEVEL >= 2 @@ -3546,7 +3546,7 @@ WXLRESULT wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM l if ( !processed ) { #if wxDEBUG_LEVEL >= 2 - wxLogTrace(wxTraceMessages, wxT("Forwarding %s to DefWindowProc."), + wxLogTrace("winmsg", wxT("Forwarding %s to DefWindowProc."), wxGetMessageName(message)); #endif // wxDEBUG_LEVEL >= 2 rc.result = MSWDefWindowProc(message, wParam, lParam);