]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetime.h
removed OnIdle() which didn't compile any longer
[wxWidgets.git] / include / wx / datetime.h
index 21e98adb728b0095050091aa4dc4fd257eaffecd..463d6602d373d7d43cd2b015d488131a2448323f 100644 (file)
 
 #if wxUSE_DATETIME
 
+#ifndef __WXWINCE__
 #include <time.h>
+#else
+#include "wx/msw/wince/time.h"
+#endif
+
 #include <limits.h>             // for INT_MIN
 
 #include "wx/longlong.h"
@@ -323,6 +328,12 @@ public:
         // day or not
         //
         // TODO move this to intl.h
+
+// Required for WinCE
+#ifdef USA
+#undef USA
+#endif
+
     enum Country
     {
         Country_Unknown, // no special information for this country
@@ -342,10 +353,8 @@ public:
         Country_WesternEurope_End = UK,
 
         Russia,
-
         USA
     };
-
         // symbolic names for the months
     enum Month
     {