]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filename.cpp
split wxUSE_MDI from wxUSE_MDI_ARCHITECTURE (which is wxUSE_MDI + wxUSE_DOCVIEW)
[wxWidgets.git] / src / common / filename.cpp
index 5bebeedae0ff0eb549e2c5686a70204d8bd0164b..a746dd77b65b97fb90a7ee4d726b5ad3df392833 100644 (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