X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c4f5ea55971225dc22304277a02c7070d211a48..13e24d79876b78545ba300e6b6871bc47af60848:/src/gtk1/utilsgtk.cpp diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index 29fb44c8c6..7cd7c37ef9 100644 --- a/src/gtk1/utilsgtk.cpp +++ b/src/gtk1/utilsgtk.cpp @@ -19,7 +19,8 @@ #endif #include "wx/apptrait.h" - +#include "wx/gtk1/private/timer.h" +#include "wx/evtloop.h" #include "wx/process.h" #include "wx/unix/execute.h" @@ -183,6 +184,11 @@ int wxAddProcessCallback(wxEndProcessData *proc_data, int fd) return tag; } +wxTimerImpl* wxGUIAppTraits::CreateTimerImpl(wxTimer *timer) +{ + return new wxGTKTimerImpl(timer); +} + // ---------------------------------------------------------------------------- // wxPlatformInfo-related // ---------------------------------------------------------------------------- @@ -197,9 +203,9 @@ wxPortId wxGUIAppTraits::GetToolkitVersion(int *verMaj, int *verMin) const return wxPORT_GTK; } -wxString wxGUIAppTraits::GetDesktopEnvironment() const +wxEventLoopBase* wxGUIAppTraits::CreateEventLoop() { - return wxEmptyString; + return new wxEventLoop; } #if wxUSE_INTL