From cdbce971ecd2a3f39ddcc56c0ef7769663fbdf23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Thu, 24 Aug 2006 14:27:41 +0000 Subject: [PATCH] Keep wxPalmOS buildable - missing functions. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filename.cpp | 5 ++++- src/palmos/utils.cpp | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/common/filename.cpp b/src/common/filename.cpp index f55a693ae8..91451e4452 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -2040,7 +2040,10 @@ wxULongLong wxFileName::GetSize(const wxString &filename) if (!wxFileExists(filename)) return wxInvalidSize; -#ifdef __WIN32__ +#if defined(__WXPALMOS__) + // TODO + return wxInvalidSize; +#elif defined(__WIN32__) wxFileHandle f(filename, wxFileHandle::Read); if (!f.IsOk()) return wxInvalidSize; diff --git a/src/palmos/utils.cpp b/src/palmos/utils.cpp index f1f40adad7..81db337f9b 100644 --- a/src/palmos/utils.cpp +++ b/src/palmos/utils.cpp @@ -197,6 +197,11 @@ void wxBell() SndPlaySystemSound(sndWarning); } +bool wxIsPlatform64Bit() +{ + return false; +} + wxString wxGetOsDescription() { wxString strOS = _T("PalmOS"); -- 2.45.2