implement event loop for console applications (heavily modified patch 1715735)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2464,7 +2464,7 @@ LRESULT WXDLLEXPORT APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message, WPARAM w
|
||||
|
||||
LRESULT rc;
|
||||
|
||||
if ( wnd && wxEventLoop::AllowProcessing(wnd) )
|
||||
if ( wnd && wxGUIEventLoop::AllowProcessing(wnd) )
|
||||
rc = wnd->MSWWindowProc(message, wParam, lParam);
|
||||
else
|
||||
rc = ::DefWindowProc(hWnd, message, wParam, lParam);
|
||||
|
Reference in New Issue
Block a user