X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1f1afe4014f112b040ead117e9097b686c88caf..24a39c0dd5b46ad2de22da1c21758e651a24bd9b:/src/gtk1/utilsgtk.cpp diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index cefd4eddda..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,13 +203,15 @@ 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 void wxGUIAppTraits::SetLocale() { gtk_set_locale(); } +#endif