X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a24db82d6879160a2e31e8f87ffe18037998eb45..75ce4cb180dfbe5f6ee1ad6927929b43d04edcd1:/include/wx/platinfo.h 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 // -----------------