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:
@@ -402,7 +402,7 @@ private:
|
|||||||
wxEventLoopBase *m_evtLoopOld;
|
wxEventLoopBase *m_evtLoopOld;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if wxUSE_CONSOLE_EVENTLOOP
|
#if wxUSE_GUI || wxUSE_CONSOLE_EVENTLOOP
|
||||||
|
|
||||||
class wxEventLoopGuarantor
|
class wxEventLoopGuarantor
|
||||||
{
|
{
|
||||||
@@ -430,6 +430,6 @@ private:
|
|||||||
wxEventLoop *m_evtLoopNew;
|
wxEventLoop *m_evtLoopNew;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // wxUSE_CONSOLE_EVENTLOOP
|
#endif // wxUSE_GUI || wxUSE_CONSOLE_EVENTLOOP
|
||||||
|
|
||||||
#endif // _WX_EVTLOOP_H_
|
#endif // _WX_EVTLOOP_H_
|
||||||
|
Reference in New Issue
Block a user