X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5acaf196e7034ffb3362c3823ae4ac71676b9590..c25f373e2b49e6d97c45d3f73da7edd0021ab2b3:/src/mgl/settings.cpp diff --git a/src/mgl/settings.cpp b/src/mgl/settings.cpp index 2b074eb713..76868a7369 100644 --- a/src/mgl/settings.cpp +++ b/src/mgl/settings.cpp @@ -2,12 +2,12 @@ // Name: settings.h // Author: Vaclav Slavik, Robert Roebling // Id: $Id$ -// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) +// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "settings.h" #endif @@ -21,6 +21,7 @@ #include "wx/settings.h" #include "wx/colour.h" #include "wx/font.h" +#include "wx/gdicmn.h" #include "wx/module.h" // ---------------------------------------------------------------------------- @@ -47,13 +48,13 @@ IMPLEMENT_DYNAMIC_CLASS(wxSystemSettingsModule, wxModule) -wxColour wxSystemSettings::GetSystemColour(int WXUNUSED(index)) +wxColour wxSystemSettingsNative::GetColour(wxSystemColour WXUNUSED(index)) { - // FIXME_MGL + // not implemented, the mean is in wxUniversal return wxColour(0,0,0); } -wxFont wxSystemSettings::GetSystemFont(int index) +wxFont wxSystemSettingsNative::GetFont(wxSystemFont index) { switch (index) { @@ -77,7 +78,7 @@ wxFont wxSystemSettings::GetSystemFont(int index) } } -int wxSystemSettings::GetSystemMetric(int WXUNUSED(index)) +int wxSystemSettingsNative::GetMetric(wxSystemMetric index) { int val; @@ -94,12 +95,12 @@ int wxSystemSettings::GetSystemMetric(int WXUNUSED(index)) return 15; break; default: - wxCHECK_MSG(index, 0, wxT("wxSystemSettings::GetSystemMetric not fully implemented")); + wxCHECK_MSG(index, 0, wxT("wxSystemSettings::GetMetric not fully implemented")); return 0; } } -bool wxSystemSettings::GetCapability(int index) +bool wxSystemSettingsNative::HasFeature(wxSystemFeature index) { switch (index) {