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:
@@ -208,8 +208,8 @@ static void ConvertWxToFileTime(FILETIME *ft, const wxDateTime& dt)
|
|||||||
{
|
{
|
||||||
// do the reverse of ConvertFileTimeToWx()
|
// do the reverse of ConvertFileTimeToWx()
|
||||||
wxLongLong ll = dt.GetValue();
|
wxLongLong ll = dt.GetValue();
|
||||||
ll *= 10000;
|
|
||||||
ll += FILETIME_EPOCH_OFFSET;
|
ll += FILETIME_EPOCH_OFFSET;
|
||||||
|
ll *= 10000;
|
||||||
|
|
||||||
ft->dwHighDateTime = ll.GetHi();
|
ft->dwHighDateTime = ll.GetHi();
|
||||||
ft->dwLowDateTime = ll.GetLo();
|
ft->dwLowDateTime = ll.GetLo();
|
||||||
|
Reference in New Issue
Block a user