diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 225124f277..ac660f8e3f 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -1180,7 +1180,7 @@ bool wxYield() } // If they are pending events, we must process them. #if wxUSE_THREADS - ProcessPendingEvents(); + wxTheApp->ProcessPendingEvents(); #endif return TRUE;