]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sysopt.h
add a header placeholder
[wxWidgets.git] / include / wx / sysopt.h
index 90d802215be6c030c868f3e4214cbca086ab2b7c..0b8a7716661e32847c7a18607ee145c63de12daf 100644 (file)
@@ -34,6 +34,11 @@ public:
     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