+#if wxUSE_TIMER
+
+wxTimerImpl *wxConsoleAppTraits::CreateTimerImpl(wxTimer *timer)
+{
+ // this doesn't work yet as there is no main loop in console applications
+ // (but it will be added later)
+ return new wxUnixTimerImpl(timer);
+}
+
+#endif // wxUSE_TIMER
+
+#if wxUSE_CONSOLE_EVENTLOOP
+
+wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
+{
+ return new wxEventLoop();
+}
+
+#endif // wxUSE_CONSOLE_EVENTLOOP