diff --git a/3rdparty/wxWidgets/src/msw/window.cpp b/3rdparty/wxWidgets/src/msw/window.cpp index 4810bd68d7..d30941e7ba 100644 --- a/3rdparty/wxWidgets/src/msw/window.cpp +++ b/3rdparty/wxWidgets/src/msw/window.cpp @@ -2594,7 +2594,10 @@ wxWindowCreationHook::~wxWindowCreationHook() LRESULT WXDLLEXPORT APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { // trace all messages - useful for the debugging -#ifdef __WXDEBUG__ + // PCSX2: Not really! Trace logging is shit slow, and is only really useful to devs of + // wxWidgets itself so I disabled it. -- air + +#if 0 //def __WXDEBUG__ wxLogTrace(wxTraceMessages, wxT("Processing %s(hWnd=%08lx, wParam=%8lx, lParam=%8lx)"), wxGetMessageName(message), (long)hWnd, (long)wParam, lParam); @@ -3417,7 +3420,9 @@ WXLRESULT wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM l if ( !processed ) { -#ifdef __WXDEBUG__ +// PCSX2: Trace logging is shit slow, and is only really useful to devs of wxWidgets itself +// so I disabled it. -- air +#if 0 //def __WXDEBUG__ wxLogTrace(wxTraceMessages, wxT("Forwarding %s to DefWindowProc."), wxGetMessageName(message)); #endif // __WXDEBUG__