X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a24db82d6879160a2e31e8f87ffe18037998eb45..9a2183c900361c33f39e2535e1841a2b8790e7a9:/include/wx/platinfo.h?ds=sidebyside diff --git a/include/wx/platinfo.h b/include/wx/platinfo.h index 2065e01a7f..e639d599e7 100644 --- a/include/wx/platinfo.h +++ b/include/wx/platinfo.h @@ -58,7 +58,11 @@ enum wxOperatingSystemId // 1<<13 and 1<<14 available for other Unix flavours wxOS_DOS = 1 << 15, // Microsoft DOS - wxOS_OS2 = 1 << 16 // OS/2 + wxOS_OS2 = 1 << 16, // OS/2 + + wxOS_PALM_OS = 1 << 17, // Pure Palm OS + wxOS_PALM_LINUX = 1 << 18, // Palm over linux + wxOS_PALM = wxOS_PALM_OS | wxOS_PALM_LINUX }; // list of wxWidgets ports - some of them can be used with more than @@ -130,6 +134,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 +255,9 @@ protected: return majorCur > major || (majorCur == major && minorCur >= minor); } + void InitForCurrentPlatform(); + + // OS stuff // -----------------