]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetime.h
don't deprecate the entire wxDrawObject class, this results in warnings when we just...
[wxWidgets.git] / include / wx / datetime.h
index 5942e0cc33be3b0d291ff3e00d63c5d35a264e90..6e4341618a24f6517fbfe9f53987af1547b4c10d 100644 (file)
@@ -1270,7 +1270,7 @@ public:
     inline wxLongLong GetValue() const;
 
     // a helper function to get the current time_t
-    static time_t GetTimeNow() { return time((time_t *)NULL); }
+    static time_t GetTimeNow() { return time(NULL); }
 
     // another one to get the current time broken down
     static struct tm *GetTmNow()