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
This commit is contained in:
Paul Cornett
2014-04-17 16:15:28 +00:00
parent 44f7f14bee
commit 10d96d920b

View File

@@ -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_