X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b8ec418aee4e38877d4cb79e2984c766dcc358..4eb1fe9da6dbf2a82876547b6f69836e086f22e7:/src/mgl/settings.cpp?ds=inline diff --git a/src/mgl/settings.cpp b/src/mgl/settings.cpp index 19427c69a5..4e6b6d28f8 100644 --- a/src/mgl/settings.cpp +++ b/src/mgl/settings.cpp @@ -1,9 +1,8 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: settings.cpp -// Purpose: -// Author: Robert Roebling +// Name: settings.h +// Author: Vaclav Slavik // Id: $Id$ -// Copyright: (c) 1998 Robert Roebling +// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -13,4 +12,36 @@ #endif #include "wx/settings.h" +#include "wx/colour.h" +#include "wx/font.h" +wxColour wxSystemSettings::GetSystemColour(int WXUNUSED(index)) +{ + // FIXME_MGL + return wxColour(0,0,0); +} + +wxFont wxSystemSettings::GetSystemFont(int WXUNUSED(index)) +{ + // FIXME_MGL + return wxFont(10, wxSWISS, wxNORMAL, wxNORMAL, FALSE, "Arial"); +} + +int wxSystemSettings::GetSystemMetric(int WXUNUSED(index)) +{ + // FIXME_MGL + return 1; +} + +bool wxSystemSettings::GetCapability(int index) +{ + switch (index) + { + case wxSYS_CAN_ICONIZE_FRAME: + return FALSE; break; + case wxSYS_CAN_DRAW_FRAME_DECORATIONS: + return FALSE; break; + default: + return FALSE; + } +}