add platform info for Palm (add-wxpalm-info.diff part of patch 1894861)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-03-02 01:02:07 +00:00
parent fdc2446058
commit 027fe16c35
3 changed files with 13 additions and 2 deletions

View File

@@ -58,7 +58,11 @@ enum wxOperatingSystemId
// 1<<13 and 1<<14 available for other Unix flavours // 1<<13 and 1<<14 available for other Unix flavours
wxOS_DOS = 1 << 15, // Microsoft DOS 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 // list of wxWidgets ports - some of them can be used with more than

View File

@@ -317,6 +317,10 @@ bool WidgetsApp::OnInit()
title += _T("wxMAC"); title += _T("wxMAC");
#elif defined(__WXMOTIF__) #elif defined(__WXMOTIF__)
title += _T("wxMOTIF"); title += _T("wxMOTIF");
#elif __WXPALMOS5__
title += _T("wxPALMOS5");
#elif __WXPALMOS6__
title += _T("wxPALMOS6");
#else #else
title += _T("wxWidgets"); title += _T("wxWidgets");
#endif #endif

View File

@@ -66,7 +66,10 @@ static const wxChar* const wxOperatingSystemIdNames[] =
_T("Other Unix"), _T("Other Unix"),
_T("DOS"), _T("DOS"),
_T("OS/2") _T("OS/2"),
_T("PalmOS"),
_T("PalmOS(Over Linux)"),
}; };
static const wxChar* const wxPortIdNames[] = static const wxChar* const wxPortIdNames[] =