X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0badb709a86b91a203416784b649e3d00c699c7..694f411c85ae5d885b9e9282e985a0568bf3ec67:/src/palmos/utils.cpp?ds=sidebyside diff --git a/src/palmos/utils.cpp b/src/palmos/utils.cpp index e35d21ae23..81db337f9b 100644 --- a/src/palmos/utils.cpp +++ b/src/palmos/utils.cpp @@ -35,6 +35,7 @@ #include "wx/apptrait.h" #include "wx/dynload.h" #include "wx/confbase.h" +#include "wx/power.h" #include #include @@ -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; } // ----------------------------------------------------------------------------