wxWidgets (Win32): Disable debug trace logigng of Windows Messages, because it's really! slow. And not! useful.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1934 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-09-30 12:34:19 +00:00
parent 03972b07de
commit 7b800cf290
1 changed files with 7 additions and 2 deletions

View File

@ -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__