X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ddff00c923d454f651aba32c8fe3654fd303e43..44c8e75ba92de8f003f193f1e80b374b3402419d:/src/dfb/utils.cpp?ds=sidebyside diff --git a/src/dfb/utils.cpp b/src/dfb/utils.cpp index 385616fb95..3e02d9a6ba 100644 --- a/src/dfb/utils.cpp +++ b/src/dfb/utils.cpp @@ -18,7 +18,7 @@ #include "wx/utils.h" #include "wx/evtloop.h" #include "wx/apptrait.h" -#include "wx/unix/execute.h" +#include "wx/unix/private/timer.h" #ifndef WX_PRECOMP #include "wx/app.h" @@ -45,6 +45,11 @@ wxEventLoopBase* wxGUIAppTraits::CreateEventLoop() return new wxEventLoop; } +wxTimerImpl *wxGUIAppTraits::CreateTimerImpl(wxTimer *timer) +{ + return new wxUnixTimerImpl(timer); +} + // ---------------------------------------------------------------------------- // display characteristics // ---------------------------------------------------------------------------- @@ -116,7 +121,7 @@ wxPoint wxGetMousePosition() bool wxGetKeyState(wxKeyCode key) { wxASSERT_MSG(key != WXK_LBUTTON && key != WXK_RBUTTON && key != WXK_MBUTTON, - _T("can't use wxGetKeyState() for mouse buttons")); + "can't use wxGetKeyState() for mouse buttons"); return false; // FIXME } @@ -128,9 +133,3 @@ bool wxGetKeyState(wxKeyCode key) void wxBell() { } - -int wxAddProcessCallback(wxEndProcessData *proc_data, int fd) -{ - wxFAIL_MSG( _T("wxAddProcessCallback not implemented") ); - return 0; -}