]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/dialog.cpp
fixing toolbar support, adding iphone
[wxWidgets.git] / 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();