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/trunk@76364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0021653f7e
commit
5a6d62d823
@ -417,7 +417,7 @@ private:
|
||||
wxEventLoopBase *m_evtLoopOld;
|
||||
};
|
||||
|
||||
#if wxUSE_CONSOLE_EVENTLOOP
|
||||
#if wxUSE_GUI || wxUSE_CONSOLE_EVENTLOOP
|
||||
|
||||
class wxEventLoopGuarantor
|
||||
{
|
||||
@ -445,6 +445,6 @@ private:
|
||||
wxEventLoop *m_evtLoopNew;
|
||||
};
|
||||
|
||||
#endif // wxUSE_CONSOLE_EVENTLOOP
|
||||
#endif // wxUSE_GUI || wxUSE_CONSOLE_EVENTLOOP
|
||||
|
||||
#endif // _WX_EVTLOOP_H_
|
||||
|
Loading…
Reference in New Issue
Block a user