]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetime.inl
Missed defs.h inclusion.
[wxWidgets.git] / include / wx / datetime.inl
index 20bcf4c58ae25bc02c57ff0047f45ecb15c165e0..546de23f8af8148cebfe54264644e71f056e182f 100644 (file)
@@ -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,