fixed bug in ConvertWxToFileTime (bug 525868)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-03-27 22:29:43 +00:00
parent 372c2812d9
commit 12132b3789

View File

@ -208,8 +208,8 @@ static void ConvertWxToFileTime(FILETIME *ft, const wxDateTime& dt)
{
// do the reverse of ConvertFileTimeToWx()
wxLongLong ll = dt.GetValue();
ll *= 10000;
ll += FILETIME_EPOCH_OFFSET;
ll *= 10000;
ft->dwHighDateTime = ll.GetHi();
ft->dwLowDateTime = ll.GetLo();