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:
@@ -123,6 +123,7 @@ wxMSW:
|
|||||||
even try to do it by default -- now it does
|
even try to do it by default -- now it does
|
||||||
- wxTaskBarIcon must be explicitly destroyed now, otherwise the application
|
- wxTaskBarIcon must be explicitly destroyed now, otherwise the application
|
||||||
won't exit even though there are no top level windows
|
won't exit even though there are no top level windows
|
||||||
|
- wxFileName::GetModificationTime() works with opened files too now
|
||||||
|
|
||||||
wxMotif:
|
wxMotif:
|
||||||
|
|
||||||
|
@@ -163,7 +163,8 @@ public:
|
|||||||
filename, // name
|
filename, // name
|
||||||
mode == Read ? GENERIC_READ // access mask
|
mode == Read ? GENERIC_READ // access mask
|
||||||
: GENERIC_WRITE,
|
: GENERIC_WRITE,
|
||||||
0, // no sharing
|
FILE_SHARE_READ | // sharing mode
|
||||||
|
FILE_SHARE_WRITE, // (allow everything)
|
||||||
NULL, // no secutity attr
|
NULL, // no secutity attr
|
||||||
OPEN_EXISTING, // creation disposition
|
OPEN_EXISTING, // creation disposition
|
||||||
0, // no flags
|
0, // no flags
|
||||||
|
Reference in New Issue
Block a user