]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/baseunix.cpp
allow using dashes in the names of --enable/with options used with WX_ARG_XXX macros...
[wxWidgets.git] / src / unix / baseunix.cpp
index 8f6345561842c4804830d96d3bb246925006158b..9773a110a5be2c6a9f3075e0cebebba226d342f0 100644 (file)
@@ -32,6 +32,9 @@
 
 #include "wx/apptrait.h"
 #include "wx/unix/execute.h"
+#include "wx/evtloop.h"
+
+#include "wx/unix/private/timer.h"
 
 // for waitpid()
 #include <sys/types.h>
@@ -81,3 +84,19 @@ 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
+
+wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
+{
+    return new wxEventLoop();
+}
+