compilation fixes for wxUSE_CONSOLE_EVENTLOOP==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c74fc1e130
commit
1a7cfc94a3
@ -156,7 +156,7 @@ protected:
|
||||
#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
|
||||
@ -223,6 +223,8 @@ private:
|
||||
wxEventLoopBase *m_evtLoopOld;
|
||||
};
|
||||
|
||||
#if wxUSE_CONSOLE_EVENTLOOP
|
||||
|
||||
class wxEventLoopGuarantor
|
||||
{
|
||||
public:
|
||||
@ -249,4 +251,6 @@ private:
|
||||
wxEventLoop *m_evtLoopNew;
|
||||
};
|
||||
|
||||
#endif // wxUSE_CONSOLE_EVENTLOOP
|
||||
|
||||
#endif // _WX_EVTLOOP_H_
|
||||
|
Loading…
Reference in New Issue
Block a user