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
This commit is contained in:
@@ -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
|
// trace all messages: useful for the debugging but noticeably slows down
|
||||||
// the code so don't do it by default
|
// the code so don't do it by default
|
||||||
#if wxDEBUG_LEVEL >= 2
|
#if wxDEBUG_LEVEL >= 2
|
||||||
wxLogTrace(wxTraceMessages,
|
wxLogTrace("winmsg",
|
||||||
wxT("Processing %s(hWnd=%p, wParam=%08lx, lParam=%08lx)"),
|
wxT("Processing %s(hWnd=%p, wParam=%08lx, lParam=%08lx)"),
|
||||||
wxGetMessageName(message), hWnd, (long)wParam, lParam);
|
wxGetMessageName(message), hWnd, (long)wParam, lParam);
|
||||||
#endif // wxDEBUG_LEVEL >= 2
|
#endif // wxDEBUG_LEVEL >= 2
|
||||||
@@ -3546,7 +3546,7 @@ WXLRESULT wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM l
|
|||||||
if ( !processed )
|
if ( !processed )
|
||||||
{
|
{
|
||||||
#if wxDEBUG_LEVEL >= 2
|
#if wxDEBUG_LEVEL >= 2
|
||||||
wxLogTrace(wxTraceMessages, wxT("Forwarding %s to DefWindowProc."),
|
wxLogTrace("winmsg", wxT("Forwarding %s to DefWindowProc."),
|
||||||
wxGetMessageName(message));
|
wxGetMessageName(message));
|
||||||
#endif // wxDEBUG_LEVEL >= 2
|
#endif // wxDEBUG_LEVEL >= 2
|
||||||
rc.result = MSWDefWindowProc(message, wParam, lParam);
|
rc.result = MSWDefWindowProc(message, wParam, lParam);
|
||||||
|
Reference in New Issue
Block a user