X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c9a19aabab3a878b565e6c2a5f2a3824277c4dc..68d4172048cfc0f3e658ef90ff5af926eedfdd57:/src/gtk1/utilsgtk.cpp diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index 4ed43ea7fc..75972bb8b6 100644 --- a/src/gtk1/utilsgtk.cpp +++ b/src/gtk1/utilsgtk.cpp @@ -10,6 +10,7 @@ #include "wx/utils.h" #include "wx/string.h" +#include "wx/apptrait.h" #include "wx/intl.h" #include "wx/log.h" @@ -121,12 +122,14 @@ int wxDisplayDepth() return gdk_window_get_visual( wxGetRootWindow()->window )->depth; } -int wxGetOsVersion(int *majorVsn, int *minorVsn) +int wxGUIAppTraits::GetOSVersion(int *majorVsn, int *minorVsn) { - if (majorVsn) *majorVsn = GTK_MAJOR_VERSION; - if (minorVsn) *minorVsn = GTK_MINOR_VERSION; + if (majorVsn) + *majorVsn = GTK_MAJOR_VERSION; + if (minorVsn) + *minorVsn = GTK_MINOR_VERSION; - return wxGTK; + return wxGTK; } wxWindow* wxFindWindowAtPoint(const wxPoint& pt)