Easier platform testing class and function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-04-15 17:40:13 +00:00
parent 481203cb23
commit 230c90774f
4 changed files with 233 additions and 2 deletions

View File

@@ -701,6 +701,24 @@ enum
wxDOS /* wxBase under MS-DOS */
};
/* Friendlier platform names */
enum
{
wxMotif = wxMOTIF_X,
wxMac = wxMAC,
wxMSW = wxWINDOWS,
wxWinCE = wxWINDOWS_CE,
wxWinPocketPC = wxWINDOWS_POCKETPC,
wxWinSmartPhone = wxWINDOWS_SMARTPHONE,
wxWin95= wxWIN95,
wxUnix = wxUNIX, /* wxBase under Unix */
wxPalmOS = wxPALMOS, /* PalmOS */
wxOS2 = wxOS2_PM,
wxMGL = 100,
wxCocoa
};
/* ---------------------------------------------------------------------------- */
/* standard wxWidgets types */
/* ---------------------------------------------------------------------------- */