#include "wx/apptrait.h"
 #include "wx/unix/execute.h"
 #include "wx/evtloop.h"
+#include "wx/gsocket.h"
 
 #include "wx/unix/private/timer.h"
 
 
 #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!