X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/61c5a8acbe5d198708507dfc2789b8985d0c55c4..f78cc8969d48219333726b47bc745d21256dd800:/wxPython/src/_settings.i diff --git a/wxPython/src/_settings.i b/wxPython/src/_settings.i index 28ba50b290..2cf16843c3 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 { @@ -175,20 +181,14 @@ public: }; -%pythoncode { -%# backwards compatibility aliasses -SystemSettings_GetSystemColour = SystemSettings_GetColour -SystemSettings_GetSystemFont = SystemSettings_GetFont -SystemSettings_GetSystemMetric = SystemSettings_GetMetric -} - - //--------------------------------------------------------------------------- +MAKE_CONST_WXSTRING(WINDOW_DEFAULT_VARIANT); + class wxSystemOptions : public wxObject { public: - wxSystemOptions() { } + wxSystemOptions(); // User-customizable hints to wxWindows or associated libraries // These could also be used to influence GetSystem... calls, indeed