]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetime.h
Applied patch [ 1194316 ] wxMediaCtrl MSW config and setup cleanup
[wxWidgets.git] / include / wx / datetime.h
index 0198f242e7354464526ba30cd4eb8d605cec16c1..dec975265ed7aa03409dcd89740d02c3b0d7d172 100644 (file)
@@ -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,