git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21713
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// trace all messages - useful for the debugging
#ifdef __WXDEBUG__
{
// trace all messages - useful for the debugging
#ifdef __WXDEBUG__
-#if wxUSE_LOG
- wxLogTrace(wxTraceMessages, wxT("Processing %s(wParam=%8lx, lParam=%8lx)"),
- wxGetMessageName(message), (long) wParam, lParam);
-#endif // wxUSE_LOG
+ wxLogTrace(wxTraceMessages,
+ wxT("Processing %s(hWnd=%08lx, wParam=%8lx, lParam=%8lx)"),
+ wxGetMessageName(message), (long)hWnd, (long)wParam, lParam);
#endif // __WXDEBUG__
wxWindowMSW *wnd = wxFindWinFromHandle((WXHWND) hWnd);
#endif // __WXDEBUG__
wxWindowMSW *wnd = wxFindWinFromHandle((WXHWND) hWnd);
if ( !processed )
{
#ifdef __WXDEBUG__
if ( !processed )
{
#ifdef __WXDEBUG__
wxLogTrace(wxTraceMessages, wxT("Forwarding %s to DefWindowProc."),
wxGetMessageName(message));
wxLogTrace(wxTraceMessages, wxT("Forwarding %s to DefWindowProc."),
wxGetMessageName(message));
#endif // __WXDEBUG__
rc.result = MSWDefWindowProc(message, wParam, lParam);
}
#endif // __WXDEBUG__
rc.result = MSWDefWindowProc(message, wParam, lParam);
}