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

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