X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e913f796a6a0431c79ffb79a2ba5922ff770eca..03c6117e8f6c958c1bc2602132ded643fc703cbf:/src/unix/timerunx.cpp diff --git a/src/unix/timerunx.cpp b/src/unix/timerunx.cpp index 9c7468ea53..158736fcb3 100644 --- a/src/unix/timerunx.cpp +++ b/src/unix/timerunx.cpp @@ -29,6 +29,7 @@ #include "wx/event.h" #endif +#include "wx/apptrait.h" #include "wx/longlong.h" #include @@ -37,7 +38,7 @@ #include "wx/unix/private/timer.h" #include "wx/listimpl.cpp" -WX_DEFINE_LIST(wxTimerList); +WX_DEFINE_LIST(wxTimerList) // trace mask for the debugging messages used here #define wxTrace_Timer wxT("timer") @@ -256,5 +257,10 @@ wxUsecClock_t wxGetLocalTimeUsec() return wxGetLocalTimeMillis() * 1000L; } +wxTimerImpl *wxConsoleAppTraits::CreateTimerImpl(wxTimer *timer) +{ + return new wxUnixTimerImpl(timer); +} + #endif // wxUSE_TIMER