X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c4f5ea55971225dc22304277a02c7070d211a48..a4c721ee38d6e7656765a5188f89fe59c854058e:/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