]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/baseunix.cpp
added wxGLCanvas::IsDisplaySupported() (patch 1879906)
[wxWidgets.git] / src / unix / baseunix.cpp
index 8f6345561842c4804830d96d3bb246925006158b..01d4281e9d278650afb4ad67a6f0cbe188b5763b 100644 (file)
 
 #include "wx/apptrait.h"
 #include "wx/unix/execute.h"
+#include "wx/evtloop.h"
+#include "wx/gsocket.h"
+
+#include "wx/unix/private/timer.h"
 
 // for waitpid()
 #include <sys/types.h>
@@ -81,3 +85,15 @@ wxConsoleAppTraits::WaitForChild(wxExecuteData& execData)
     return exitcode;
 }
 
+#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
+
+//  Note: wxConsoleAppTraits::CreateEventLoop() is defined in evtloopunix.cpp!