X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..46ae103b9f08fc4e447d16a6a92b03cf55ee3189:/wxPython/src/_settings.i?ds=inline diff --git a/wxPython/src/_settings.i b/wxPython/src/_settings.i index 38720a9537..589efa1c6a 100644 --- a/wxPython/src/_settings.i +++ b/wxPython/src/_settings.i @@ -165,7 +165,7 @@ public: static wxFont GetFont(wxSystemFont index); // get a system-dependent metric - static int GetMetric(wxSystemMetric index); + static int GetMetric(wxSystemMetric index, wxWindow* win=NULL); // return True if the port has certain feature static bool HasFeature(wxSystemFeature index); @@ -183,6 +183,8 @@ public: //--------------------------------------------------------------------------- +MAKE_CONST_WXSTRING(WINDOW_DEFAULT_VARIANT); + class wxSystemOptions : public wxObject { public: @@ -193,10 +195,11 @@ public: // to implement SetSystemColour/Font/Metric static void SetOption(const wxString& name, const wxString& value); - %name(SetOptionInt) static void SetOption(const wxString& name, int value); + %Rename(SetOptionInt, 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) ; + static bool IsFalse(const wxString& name); };