]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/settings.h
safe macro expansion
[wxWidgets.git] / include / wx / os2 / settings.h
CommitLineData
0e320a79
DW
1/////////////////////////////////////////////////////////////////////////////
2// Name: settings.h
3// Purpose: wxSystemSettings class
409c9842 4// Author: David Webster
0e320a79 5// Modified by:
409c9842 6// Created: 10/15/98
0e320a79
DW
7// RCS-ID: $Id$
8// Copyright: (c) AUTHOR
409c9842 9// Licence: wxWindows licence
0e320a79
DW
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_SETTINGS_H_
13#define _WX_SETTINGS_H_
14
0e320a79 15#include "wx/setup.h"
0e320a79
DW
16#include "wx/colour.h"
17#include "wx/font.h"
18
0e320a79
DW
19
20class WXDLLEXPORT wxSystemSettings: public wxObject
21{
22public:
23 inline wxSystemSettings() {}
0e320a79 24 static wxColour GetSystemColour(int index);
0e320a79 25 static wxFont GetSystemFont(int index);
0e320a79 26 static int GetSystemMetric(int index);
fd6d5c94
DW
27 static void SetOption( const wxString& rsName
28 ,const wxString& rsValue
29 );
30 static void SetOption( const wxString& rsName
31 ,int nValue
32 );
33 static wxString GetOption(const wxString& rsName) ;
34 static int GetOptionInt(const wxString& rsName) ;
35 static bool HasOption(const wxString& rsName) ;
36}; // end of CLASS wxSystemSettings
0e320a79
DW
37
38#endif
39 // _WX_SETTINGS_H_