X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd4a25bc50eeac208fb0cfbbc21a88126d653209..d11e8786ed13b72766eea18cb577cc00f9f08f41:/include/wx/datetime.inl?ds=inline diff --git a/include/wx/datetime.inl b/include/wx/datetime.inl index 20bcf4c58a..546de23f8a 100644 --- a/include/wx/datetime.inl +++ b/include/wx/datetime.inl @@ -100,7 +100,8 @@ inline wxDateTime& wxDateTime::Set(const Tm& tm) { wxASSERT_MSG( tm.IsValid(), _T("invalid broken down date/time") ); - return Set(tm.mday, (Month)tm.mon, tm.year, tm.hour, tm.min, tm.sec); + return Set(tm.mday, (Month)tm.mon, tm.year, + tm.hour, tm.min, tm.sec, tm.msec); } inline wxDateTime::wxDateTime(wxDateTime_t hour,