]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/utils.cpp
non-PCH build fix (according to Tinderbox).
[wxWidgets.git] / src / palmos / utils.cpp
index e35d21ae23058848444dccb2692f7e66873aaea7..81db337f9b7e1b9500c6efb82e23d3c370523b76 100644 (file)
@@ -35,6 +35,7 @@
 #include "wx/apptrait.h"
 #include "wx/dynload.h"
 #include "wx/confbase.h"
+#include "wx/power.h"
 
 #include <MemoryMgr.h>
 #include <DLServer.h>
@@ -147,6 +148,10 @@ bool wxShutdown(wxShutdownFlags wFlags)
     return false;
 }
 
+// ----------------------------------------------------------------------------
+// power management
+// ----------------------------------------------------------------------------
+
 wxPowerType wxGetPowerType()
 {
     return wxPOWER_BATTERY;
@@ -192,6 +197,11 @@ void wxBell()
     SndPlaySystemSound(sndWarning);
 }
 
+bool wxIsPlatform64Bit()
+{
+    return false;
+}
+
 wxString wxGetOsDescription()
 {
     wxString strOS = _T("PalmOS");
@@ -210,12 +220,11 @@ wxString wxGetOsDescription()
     return strOS;
 }
 
-wxToolkitInfo& wxAppTraits::GetToolkitInfo()
+wxOperatingSystemId wxGetOsVersion(int *verMaj, int *verMin)
 {
-    static wxToolkitInfo info;
-    info.os = wxPALMOS;
-    info.name = _T("wxBase");
-    return info;
+    // TODO
+
+    return wxOS_UNKNOWN;
 }
 
 // ----------------------------------------------------------------------------