let wxFileName::GetModificationTime() work with files already opened [maybe in another application]

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-04-28 10:48:34 +00:00
parent 5e6b515aba
commit 54bcff35e0
2 changed files with 3 additions and 1 deletions

View File

@@ -123,6 +123,7 @@ wxMSW:
even try to do it by default -- now it does
- wxTaskBarIcon must be explicitly destroyed now, otherwise the application
won't exit even though there are no top level windows
- wxFileName::GetModificationTime() works with opened files too now
wxMotif:

View File

@@ -163,7 +163,8 @@ public:
filename, // name
mode == Read ? GENERIC_READ // access mask
: GENERIC_WRITE,
0, // no sharing
FILE_SHARE_READ | // sharing mode
FILE_SHARE_WRITE, // (allow everything)
NULL, // no secutity attr
OPEN_EXISTING, // creation disposition
0, // no flags