]> git.saurik.com Git - wxWidgets.git/commitdiff
build fix for wxUSE_CONSOLE_EVENTLOOP==0
authorPaul Cornett <paulcor@bullseye.com>
Wed, 30 Sep 2009 15:38:53 +0000 (15:38 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Wed, 30 Sep 2009 15:38:53 +0000 (15:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/dialog.cpp

index 84dbc61448b604236c2d04bde28cd9a9e0a3b7aa..9924b54b06028dce197d051d1bf270542c30ac55 100644 (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();