]> git.saurik.com Git - wxWidgets.git/blob - src/mgl/settings.cpp
changed wxSystemSettings::HasFrameDecorations to more general GetCapability(index)
[wxWidgets.git] / src / mgl / settings.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: settings.h
3 // Author: Vaclav Slavik
4 // Id: $Id$
5 // Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9
10 #ifdef __GNUG__
11 #pragma implementation "settings.h"
12 #endif
13
14 #include "wx/settings.h"
15 #include "wx/colour.h"
16 #include "wx/font.h"
17
18 wxColour wxSystemSettings::GetSystemColour(int WXUNUSED(index))
19 {
20 // FIXME_MGL
21 return wxColour(0,0,0);
22 }
23
24 wxFont wxSystemSettings::GetSystemFont(int WXUNUSED(index))
25 {
26 // FIXME_MGL
27 return wxFont(10, wxSWISS, wxNORMAL, wxNORMAL, FALSE, "Arial");
28 }
29
30 int wxSystemSettings::GetSystemMetric(int WXUNUSED(index))
31 {
32 // FIXME_MGL
33 return 1;
34 }
35
36 bool wxSystemSettings::GetCapability(int index)
37 {
38 switch (index)
39 {
40 case wxSYS_CAN_ICONIZE_FRAME:
41 return FALSE; break;
42 case wxSYS_CAN_DRAW_FRAME_DECORATIONS:
43 return FALSE; break;
44 default:
45 return FALSE;
46 }
47 }