ProcessPendingEvents() is now in wxApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -163,7 +163,8 @@ bool wxGUIEventLoop::YieldFor(long eventsToProcess)
|
|||||||
the main thread waits and then notify the main thread by posting
|
the main thread waits and then notify the main thread by posting
|
||||||
an event.
|
an event.
|
||||||
*/
|
*/
|
||||||
ProcessPendingEvents();
|
if (wxTheApp)
|
||||||
|
wxTheApp->ProcessPendingEvents();
|
||||||
|
|
||||||
#if wxUSE_LOG
|
#if wxUSE_LOG
|
||||||
// let the logs be flashed again
|
// let the logs be flashed again
|
||||||
|
@@ -503,7 +503,8 @@ bool wxGUIEventLoop::YieldFor(long eventsToProcess)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// if there are pending events, we must process them.
|
// if there are pending events, we must process them.
|
||||||
ProcessPendingEvents();
|
if (wxTheApp)
|
||||||
|
wxTheApp->ProcessPendingEvents();
|
||||||
|
|
||||||
// put back unprocessed events in the queue
|
// put back unprocessed events in the queue
|
||||||
DWORD id = GetCurrentThreadId();
|
DWORD id = GetCurrentThreadId();
|
||||||
|
Reference in New Issue
Block a user