X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/903506828b7d042350eae97b5014a63ffca17ef5..b37023dca3a8627cee3fd26bf9cd9dae46e4a5b1:/src/gtk1/utilsgtk.cpp diff --git a/src/gtk1/utilsgtk.cpp b/src/gtk1/utilsgtk.cpp index 1bc1106f93..75972bb8b6 100644 --- a/src/gtk1/utilsgtk.cpp +++ b/src/gtk1/utilsgtk.cpp @@ -3,13 +3,14 @@ // Purpose: // Author: Robert Roebling // Id: $Id$ -// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem +// Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #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)