From 10d96d920b037a25941b90ed32c39f65f01ed4ff Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Thu, 17 Apr 2014 16:15:28 +0000 Subject: [PATCH] allow using wxEventLoopGuarantor when wxUSE_GUI==1 fixes wxOSX-Cocoa build when wxUSE_CONSOLE_EVENTLOOP==0 closes #14980 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/evtloop.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/evtloop.h b/include/wx/evtloop.h index 8dd5d6eb7b..6eaa479b8d 100644 --- a/include/wx/evtloop.h +++ b/include/wx/evtloop.h @@ -402,7 +402,7 @@ private: wxEventLoopBase *m_evtLoopOld; }; -#if wxUSE_CONSOLE_EVENTLOOP +#if wxUSE_GUI || wxUSE_CONSOLE_EVENTLOOP class wxEventLoopGuarantor { @@ -430,6 +430,6 @@ private: wxEventLoop *m_evtLoopNew; }; -#endif // wxUSE_CONSOLE_EVENTLOOP +#endif // wxUSE_GUI || wxUSE_CONSOLE_EVENTLOOP #endif // _WX_EVTLOOP_H_