X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/425eee416409ae654df52a7f77d417eb176817de..a721fd82b7ca8c97048453d4aaff559e8f741d69:/include/wx/datetime.h?ds=inline diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 7da0c17a28..6e4341618a 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -706,7 +706,7 @@ public: wxDateTime& SetToPrevWeekDay(WeekDay weekday); inline wxDateTime GetPrevWeekDay(WeekDay weekday) const; - // set to Nth occurence of given weekday in the given month of the + // set to Nth occurrence of given weekday in the given month of the // given year (time is set to 0), return true on success and false on // failure. n may be positive (1..5) or negative to count from the end // of the month (see helper function SetToLastWeekDay()) @@ -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()