added wxUSE_CONSOLE_EVENTLOOP around wxConsoleEventLoop

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-07-15 19:33:16 +00:00
parent 2e38bcd2dc
commit 61478ea03f
2 changed files with 8 additions and 0 deletions

View File

@@ -83,6 +83,8 @@ private:
#else // !wxUSE_GUI #else // !wxUSE_GUI
#if wxUSE_CONSOLE_EVENTLOOP
class WXDLLIMPEXP_BASE wxConsoleEventLoop : public wxMSWEventLoopBase class WXDLLIMPEXP_BASE wxConsoleEventLoop : public wxMSWEventLoopBase
{ {
public: public:
@@ -96,6 +98,8 @@ protected:
virtual void OnNextIteration(); virtual void OnNextIteration();
}; };
#endif // wxUSE_CONSOLE_EVENTLOOP
#endif // wxUSE_GUI/!wxUSE_GUI #endif // wxUSE_GUI/!wxUSE_GUI
#endif // _WX_MSW_EVTLOOP_H_ #endif // _WX_MSW_EVTLOOP_H_

View File

@@ -307,6 +307,8 @@ void wxGUIEventLoop::WakeUp()
#else // !wxUSE_GUI #else // !wxUSE_GUI
#if wxUSE_CONSOLE_EVENTLOOP
void wxConsoleEventLoop::OnNextIteration() void wxConsoleEventLoop::OnNextIteration()
{ {
if ( wxTheApp ) if ( wxTheApp )
@@ -340,4 +342,6 @@ bool wxConsoleEventLoop::Dispatch()
return !m_shouldExit; return !m_shouldExit;
} }
#endif // wxUSE_CONSOLE_EVENTLOOP
#endif //wxUSE_GUI #endif //wxUSE_GUI