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:
parent
e33cd7e203
commit
d6d3b32302
@ -50,7 +50,9 @@ void wxDialog::DoShowModal()
|
||||
}
|
||||
BeginAppModalStateForWindow(windowRef) ;
|
||||
|
||||
#if wxUSE_CONSOLE_EVENTLOOP
|
||||
wxEventLoopGuarantor ensureHasLoop;
|
||||
#endif
|
||||
wxEventLoopBase * const loop = wxEventLoop::GetActive();
|
||||
while ( IsModal() )
|
||||
loop->Dispatch();
|
||||
|
Loading…
Reference in New Issue
Block a user