X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61ecd22547b600cc595b55055edd3b67479de267..94f6d685cb30a8e62d21254bbf19902b48eb2443:/src/gtk1/utilsgtk.cpp diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index 3439ce69e6..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,7 +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 +