// 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
#include "wx/settings.h"
#include "wx/colour.h"
#include "wx/font.h"
+#include "wx/gdicmn.h"
#include "wx/module.h"
// ----------------------------------------------------------------------------
-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)
{
}
}
-int wxSystemSettings::GetSystemMetric(int WXUNUSED(index))
+int wxSystemSettingsNative::GetMetric(wxSystemMetric index, wxWindow* WXUNUSED(win))
{
int val;
return 15;
break;
default:
- wxCHECK_MSG(index, 0, wxT("wxSystemSettings::GetSystemMetric not fully implemented"));
- return 0;
+ return -1; // unsupported metric
}
}
-bool wxSystemSettings::GetCapability(int index)
+bool wxSystemSettingsNative::HasFeature(wxSystemFeature index)
{
switch (index)
{