]> git.saurik.com Git - wxWidgets.git/blame - include/wx/sysopt.h
compilation warning fixed
[wxWidgets.git] / include / wx / sysopt.h
CommitLineData
0cbff120
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: sysopt.h
3// Purpose: wxSystemOptions
4// Author: Julian Smart
5// Modified by:
6// Created: 2001-07-10
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_SYSOPT_H_
13#define _WX_SYSOPT_H_
14
15#include "wx/object.h"
16
17#if wxUSE_SYSTEM_OPTIONS
18
19// ----------------------------------------------------------------------------
20// Enables an application to influence the wxWindows implementation
21// ----------------------------------------------------------------------------
22
23class WXDLLEXPORT wxSystemOptions : public wxObject
24{
25public:
26 wxSystemOptions() { }
27
28 // User-customizable hints to wxWindows or associated libraries
29 // These could also be used to influence GetSystem... calls, indeed
30 // to implement SetSystemColour/Font/Metric
31
32 static void SetOption(const wxString& name, const wxString& value);
33 static void SetOption(const wxString& name, int value);
34 static wxString GetOption(const wxString& name) ;
35 static int GetOptionInt(const wxString& name) ;
36 static bool HasOption(const wxString& name) ;
37};
38
39#endif
40
41
42#endif
43 // _WX_SYSOPT_H_
44