/////////////////////////////////////////////////////////////////////////////
-// Name: sysopt.h
+// Name: wx/sysopt.h
// Purpose: wxSystemOptions
// Author: Julian Smart
// Modified by:
// Created: 2001-07-10
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Enables an application to influence the wxWidgets implementation
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_BASE wxSystemOptions : public wxObject
+class
+#if wxUSE_SYSTEM_OPTIONS
+WXDLLIMPEXP_BASE
+#endif
+wxSystemOptions : public wxObject
{
public:
wxSystemOptions() { }
static wxString GetOption(const wxString& name);
static int GetOptionInt(const wxString& name);
static bool HasOption(const wxString& name);
+
+ static bool IsFalse(const wxString& name)
+ {
+ return HasOption(name) && GetOptionInt(name) == 0;
+ }
};
#if !wxUSE_SYSTEM_OPTIONS