]> git.saurik.com Git - wxWidgets.git/blame - include/wx/sysopt.h
changed to behave in same way as native win32 control and generic wxListCtrl when...
[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
65571936 9// Licence: wxWindows licence
0cbff120
JS
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// ----------------------------------------------------------------------------
77ffb593 20// Enables an application to influence the wxWidgets implementation
0cbff120
JS
21// ----------------------------------------------------------------------------
22
bddd7a8d 23class WXDLLIMPEXP_BASE wxSystemOptions : public wxObject
0cbff120
JS
24{
25public:
26 wxSystemOptions() { }
27
77ffb593 28 // User-customizable hints to wxWidgets or associated libraries
0cbff120
JS
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