use the currently active event loop instead of the main one in WakeUpIdle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -325,8 +325,10 @@ bool wxAppConsoleBase::Yield(bool onlyIfNeeded)
|
||||
|
||||
void wxAppConsoleBase::WakeUpIdle()
|
||||
{
|
||||
if ( m_mainLoop )
|
||||
m_mainLoop->WakeUp();
|
||||
wxEventLoopBase * const loop = wxEventLoopBase::GetActive();
|
||||
|
||||
if ( loop )
|
||||
loop->WakeUp();
|
||||
}
|
||||
|
||||
bool wxAppConsoleBase::ProcessIdle()
|
||||
|
||||
Reference in New Issue
Block a user