X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ea92b4d7792987769774ac381685dae15c70454..b910a8add446261996bc8d22e6545e6bdb373b8b:/src/palmos/utils.cpp?ds=sidebyside diff --git a/src/palmos/utils.cpp b/src/palmos/utils.cpp index f0cb433e0e..3185ed3ea6 100644 --- a/src/palmos/utils.cpp +++ b/src/palmos/utils.cpp @@ -1,11 +1,11 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: palmos/utils.cpp +// Name: src/palmos/utils.cpp // Purpose: Various utilities -// Author: William Osborne -// Modified by: +// Author: William Osborne - minimal working wxPalmOS port +// Modified by: Wlodzimierz ABX Skiba - real functionality // Created: 10/13/04 -// RCS-ID: $Id: -// Copyright: (c) William Osborne +// RCS-ID: $Id$ +// Copyright: (c) William Osborne, Wlodzimierz Skiba // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -39,6 +39,7 @@ #include #include #include +#include // ============================================================================ // implementation @@ -106,12 +107,7 @@ wxChar *wxGetUserHome(const wxString& WXUNUSED(user)) return NULL; } -bool wxDirExists(const wxString& dir) -{ - return false; -} - -bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree) +bool wxGetDiskSpace(const wxString& path, wxDiskspaceSize_t *pTotal, wxDiskspaceSize_t *pFree) { return false; } @@ -204,6 +200,7 @@ wxString wxGetOsDescription() if(version) { wxString str = wxString::FromAscii(version); + MemPtrFree(version); if(!str.empty()) { strOS << _(" ") << str; @@ -216,6 +213,7 @@ wxString wxGetOsDescription() wxToolkitInfo& wxAppTraits::GetToolkitInfo() { static wxToolkitInfo info; + info.os = wxPALMOS; info.name = _T("wxBase"); return info; }