X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a053624c28100bd81fc5773b05681cbe151595b8..f303d69f934a76c56e14713a0748fdd10635e462:/wxPython/src/_settings.i?ds=inline diff --git a/wxPython/src/_settings.i b/wxPython/src/_settings.i index 2cf16843c3..3f4a0c88bc 100644 --- a/wxPython/src/_settings.i +++ b/wxPython/src/_settings.i @@ -129,7 +129,8 @@ enum wxSystemMetric enum wxSystemFeature { wxSYS_CAN_DRAW_FRAME_DECORATIONS = 1, - wxSYS_CAN_ICONIZE_FRAME + wxSYS_CAN_ICONIZE_FRAME, + wxSYS_TABLET_PRESENT }; @@ -165,7 +166,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); @@ -195,10 +196,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); };