git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55263
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#else // !GUI
// we can't define wxEventLoop differently in GUI and base libraries so use
// a #define to still allow writing wxEventLoop in the user code
#else // !GUI
// we can't define wxEventLoop differently in GUI and base libraries so use
// a #define to still allow writing wxEventLoop in the user code
- #if defined(__WXMSW__) || defined(__UNIX__)
+ #if wxUSE_CONSOLE_EVENTLOOP && (defined(__WXMSW__) || defined(__UNIX__))
#define wxEventLoop wxConsoleEventLoop
#else // we still must define it somehow for the code below...
#define wxEventLoop wxEventLoopBase
#define wxEventLoop wxConsoleEventLoop
#else // we still must define it somehow for the code below...
#define wxEventLoop wxEventLoopBase
wxEventLoopBase *m_evtLoopOld;
};
wxEventLoopBase *m_evtLoopOld;
};
+#if wxUSE_CONSOLE_EVENTLOOP
+
class wxEventLoopGuarantor
{
public:
class wxEventLoopGuarantor
{
public:
wxEventLoop *m_evtLoopNew;
};
wxEventLoop *m_evtLoopNew;
};
+#endif // wxUSE_CONSOLE_EVENTLOOP
+