X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bf30fe9b0b40d1a6f54608588121212c2c4e037..217099990c2665d18d352c60058106da9a014ab8:/include/wx/msw/settings.h?ds=sidebyside diff --git a/include/wx/msw/settings.h b/include/wx/msw/settings.h index 5dad2084f5..a940901740 100644 --- a/include/wx/msw/settings.h +++ b/include/wx/msw/settings.h @@ -32,6 +32,16 @@ public: // Get a system metric, e.g. scrollbar size static int GetSystemMetric(int index); + + // User-customizable hints to wxWindows or associated libraries + // These could also be used to influence GetSystem... calls, indeed + // to implement SetSystemColour/Font/Metric + + static void SetOption(const wxString& name, const wxString& value); + static void SetOption(const wxString& name, int value); + static wxString GetOption(const wxString& name) ; + static int GetOptionInt(const wxString& name) ; + static bool HasOption(const wxString& name) ; }; #endif