Moved wxConsoleAppTraits::CreateEventLoop from baseunix.cpp to evtloopunix.cpp,

so Unix' wxConsoleEventLoop can also be shared by platforms not having
        the complete ConsoleAppTraits of Unix (e.g. OS/2).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2007-11-21 14:12:16 +00:00
parent 29ae3766cc
commit 37ab9399a8
2 changed files with 8 additions and 8 deletions

View File

@@ -95,11 +95,4 @@ wxTimerImpl *wxConsoleAppTraits::CreateTimerImpl(wxTimer *timer)
#endif // wxUSE_TIMER
#if wxUSE_CONSOLE_EVENTLOOP
wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
{
return new wxEventLoop();
}
#endif // wxUSE_CONSOLE_EVENTLOOP
// Note: wxConsoleAppTraits::CreateEventLoop() is defined in evtloopunix.cpp!

View File

@@ -27,6 +27,7 @@
#endif
#include <errno.h>
#include "wx/apptrait.h"
#include "wx/evtloop.h"
#include "wx/thread.h"
#include "wx/module.h"
@@ -185,4 +186,10 @@ void wxConsoleEventLoop::OnNextIteration()
wxTheApp->CheckSignal();
}
wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
{
return new wxEventLoop();
}
#endif // wxUSE_CONSOLE_EVENTLOOP