build fix for wxUSE_CONSOLE_EVENTLOOP==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -50,7 +50,9 @@ void wxDialog::DoShowModal()
|
|||||||
}
|
}
|
||||||
BeginAppModalStateForWindow(windowRef) ;
|
BeginAppModalStateForWindow(windowRef) ;
|
||||||
|
|
||||||
|
#if wxUSE_CONSOLE_EVENTLOOP
|
||||||
wxEventLoopGuarantor ensureHasLoop;
|
wxEventLoopGuarantor ensureHasLoop;
|
||||||
|
#endif
|
||||||
wxEventLoopBase * const loop = wxEventLoop::GetActive();
|
wxEventLoopBase * const loop = wxEventLoop::GetActive();
|
||||||
while ( IsModal() )
|
while ( IsModal() )
|
||||||
loop->Dispatch();
|
loop->Dispatch();
|
||||||
|
Reference in New Issue
Block a user