X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/addd64eea4dd204b405892bd08b2b00fa49eeafa..fef4c27a1c5467c2ad291d2cff14eabd9c5b1d3b:/wxPython/src/_settings.i diff --git a/wxPython/src/_settings.i b/wxPython/src/_settings.i index 0525c88310..b4bc618260 100644 --- a/wxPython/src/_settings.i +++ b/wxPython/src/_settings.i @@ -148,6 +148,12 @@ enum wxSystemScreenType //--------------------------------------------------------------------------- +MustHaveApp(wxSystemSettings::GetColour); +MustHaveApp(wxSystemSettings::GetFont); +MustHaveApp(wxSystemSettings::GetMetric); +MustHaveApp(wxSystemSettings::HasFeature); +MustHaveApp(wxSystemSettings::GetScreenType); +MustHaveApp(wxSystemSettings::SetScreenType); class wxSystemSettings { @@ -177,6 +183,8 @@ public: //--------------------------------------------------------------------------- +MAKE_CONST_WXSTRING(WINDOW_DEFAULT_VARIANT); + class wxSystemOptions : public wxObject { public: @@ -187,7 +195,7 @@ 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) ;