Remove Palm OS port.

The platform targeted by this port doesn't exist any more and the port never
achieved really working state so remove the code to avoid having to maintain
it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-01-15 01:05:28 +00:00
parent 215ab2b53e
commit bd362275b8
285 changed files with 104 additions and 31635 deletions

View File

@@ -36,7 +36,7 @@
#ifndef WX_GMTOFF_IN_TM
// Define it for some systems which don't (always) use configure but are
// known to have tm_gmtoff field.
#if defined(__WXPALMOS__) || defined(__DARWIN__)
#if defined(__DARWIN__)
#define WX_GMTOFF_IN_TM
#endif
#endif
@@ -53,14 +53,12 @@
# undef HAVE_GETTIMEOFDAY
#endif
#ifndef __WXPALMOS5__
#ifndef __WXWINCE__
#include <time.h>
#else
#include "wx/msw/private.h"
#include "wx/msw/wince/time.h"
#endif
#endif // __WXPALMOS5__
#if !defined(__WXMAC__) && !defined(__WXWINCE__)
@@ -74,12 +72,6 @@
#include <sys/timeb.h>
#endif
#ifdef __WXPALMOS__
#include <DateTime.h>
#include <TimeMgr.h>
#include <SystemMgr.h>
#endif
#if defined(__MWERKS__) && wxUSE_UNICODE
#include <wtime.h>
#endif
@@ -317,19 +309,7 @@ wxLongLong wxGetUTCTimeMillis()
// If possible, use a function which avoids conversions from
// broken-up time structures to milliseconds
#if defined(__WXPALMOS__)
DateTimeType thenst;
thenst.second = 0;
thenst.minute = 0;
thenst.hour = 0;
thenst.day = 1;
thenst.month = 1;
thenst.year = 1970;
thenst.weekDay = 5;
uint32_t now = TimGetSeconds();
uint32_t then = TimDateTimeToSeconds (&thenst);
return SysTimeToMilliSecs(SysTimeInSecs(now - then));
#elif defined(__WXMSW__)
#if defined(__WXMSW__)
FILETIME ft;
::GetSystemTimeAsFileTime(&ft);