From: Vadim Zeitlin Date: Fri, 13 May 2005 12:39:15 +0000 (+0000) Subject: merged in rev 1.28 of wx/datetime.inl: copy milliseconds in Set() too X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/271f6072240c0f07bf34366322bfecbde59238d7 merged in rev 1.28 of wx/datetime.inl: copy milliseconds in Set() too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 0198f242e7..dec975265e 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -1583,7 +1583,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,