]> git.saurik.com Git - wxWidgets.git/commitdiff
add platform info for Palm (add-wxpalm-info.diff part of patch 1894861)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Mar 2008 01:02:07 +0000 (01:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Mar 2008 01:02:07 +0000 (01:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/platinfo.h
samples/widgets/widgets.cpp
src/common/platinfo.cpp

index 809a3146735668bd5a9330f419ae0fb0bc6cf740..ad01a08b62253dab97930cc427bbb53bccf782da 100644 (file)
@@ -58,7 +58,11 @@ enum wxOperatingSystemId
     // 1<<13 and 1<<14 available for other Unix flavours
 
     wxOS_DOS            = 1 << 15,      // Microsoft DOS
     // 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
 };
 
 // list of wxWidgets ports - some of them can be used with more than
index e99d970a1ece4012d11f87eb5283e8babc8746f8..1e06e50c3bba8a54086be67da30bfc023b415dc8 100644 (file)
@@ -317,6 +317,10 @@ bool WidgetsApp::OnInit()
     title += _T("wxMAC");
 #elif defined(__WXMOTIF__)
     title += _T("wxMOTIF");
     title += _T("wxMAC");
 #elif defined(__WXMOTIF__)
     title += _T("wxMOTIF");
+#elif __WXPALMOS5__
+    title += _T("wxPALMOS5");
+#elif __WXPALMOS6__
+    title += _T("wxPALMOS6");
 #else
     title += _T("wxWidgets");
 #endif
 #else
     title += _T("wxWidgets");
 #endif
index 163a4c1f63d6aa3b3289eaffc70068ecc051d02f..fbb27bfd942731bad3ba04ed2c42986d60ac0996 100644 (file)
@@ -66,7 +66,10 @@ static const wxChar* const wxOperatingSystemIdNames[] =
     _T("Other Unix"),
 
     _T("DOS"),
     _T("Other Unix"),
 
     _T("DOS"),
-    _T("OS/2")
+    _T("OS/2"),
+
+    _T("PalmOS"),
+    _T("PalmOS(Over Linux)"),
 };
 
 static const wxChar* const wxPortIdNames[] =
 };
 
 static const wxChar* const wxPortIdNames[] =