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:
@@ -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_
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user