From: Paul Cornett Date: Wed, 30 Sep 2009 15:38:53 +0000 (+0000) Subject: build fix for wxUSE_CONSOLE_EVENTLOOP==0 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d6d3b323020f6851f04b7111bb432ac0bbd63eb5?ds=inline build fix for wxUSE_CONSOLE_EVENTLOOP==0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/dialog.cpp b/src/osx/carbon/dialog.cpp index 84dbc61448..9924b54b06 100644 --- a/src/osx/carbon/dialog.cpp +++ b/src/osx/carbon/dialog.cpp @@ -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();