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:
Paul Cornett 2009-09-30 15:38:53 +00:00
parent e33cd7e203
commit d6d3b32302

View File

@ -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();