modif time of FS inet and FS mem files is not wxDateTime::Now, not wxDateTime::Today
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -146,7 +146,7 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxStri
|
|||||||
right,
|
right,
|
||||||
info->GetMime(),
|
info->GetMime(),
|
||||||
GetAnchor(location),
|
GetAnchor(location),
|
||||||
wxDateTime::Today());
|
wxDateTime::Now());
|
||||||
}
|
}
|
||||||
else return (wxFSFile*) NULL;
|
else return (wxFSFile*) NULL;
|
||||||
}
|
}
|
||||||
|
@@ -37,7 +37,7 @@ class MemFSHashObj : public wxObject
|
|||||||
m_Data = new char[len];
|
m_Data = new char[len];
|
||||||
memcpy(m_Data, data, len);
|
memcpy(m_Data, data, len);
|
||||||
m_Len = len;
|
m_Len = len;
|
||||||
m_Time = wxDateTime::Today();
|
m_Time = wxDateTime::Now();
|
||||||
}
|
}
|
||||||
|
|
||||||
MemFSHashObj(wxMemoryOutputStream& stream)
|
MemFSHashObj(wxMemoryOutputStream& stream)
|
||||||
@@ -45,7 +45,7 @@ class MemFSHashObj : public wxObject
|
|||||||
m_Len = stream.GetSize();
|
m_Len = stream.GetSize();
|
||||||
m_Data = new char[m_Len];
|
m_Data = new char[m_Len];
|
||||||
stream.CopyTo(m_Data, m_Len);
|
stream.CopyTo(m_Data, m_Len);
|
||||||
m_Time = wxDateTime::Today();
|
m_Time = wxDateTime::Now();
|
||||||
}
|
}
|
||||||
|
|
||||||
~MemFSHashObj()
|
~MemFSHashObj()
|
||||||
|
Reference in New Issue
Block a user