X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a24db82d6879160a2e31e8f87ffe18037998eb45..55fbde1232bff0ed44c23775911574ac1b2f8a0a:/include/wx/platinfo.h?ds=sidebyside diff --git a/include/wx/platinfo.h b/include/wx/platinfo.h index 2065e01a7f..809a314673 100644 --- a/include/wx/platinfo.h +++ b/include/wx/platinfo.h @@ -130,6 +130,11 @@ public: bool operator!=(const wxPlatformInfo &t) const { return !(*this == t); } + // Gets a wxPlatformInfo already initialized with the values for + // the currently running platform. + static const wxPlatformInfo& Get(); + + // string -> enum conversions // --------------------------------- @@ -246,6 +251,9 @@ protected: return majorCur > major || (majorCur == major && minorCur >= minor); } + void InitForCurrentPlatform(); + + // OS stuff // -----------------