projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use DeafultAttributes instead of hard coded defaults
[wxWidgets.git]
/
include
/
wx
/
file.h
diff --git
a/include/wx/file.h
b/include/wx/file.h
index 1bf63024eb49d9f4ec2d8b18e790513431e680a7..9ce1ee7043e0891848ef5f6eb2c4c315d5b08d3d 100644
(file)
--- a/
include/wx/file.h
+++ b/
include/wx/file.h
@@
-66,7
+66,7
@@
public:
// ----------------
// check whether a regular file by this name exists
static bool Exists(const wxChar *name);
// ----------------
// check whether a regular file by this name exists
static bool Exists(const wxChar *name);
- // check whet
t
her we can access the given file in given mode
+ // check whether we can access the given file in given mode
// (only read and write make sense here)
static bool Access(const wxChar *name, OpenMode mode);
// (only read and write make sense here)
static bool Access(const wxChar *name, OpenMode mode);
@@
-82,7
+82,7
@@
public:
// open/close
// create a new file (with the default value of bOverwrite, it will fail if
// the file already exists, otherwise it will overwrite it and succeed)
// open/close
// create a new file (with the default value of bOverwrite, it will fail if
// the file already exists, otherwise it will overwrite it and succeed)
- bool Create(const wxChar *szFileName, bool bOverwrite =
FALSE
,
+ bool Create(const wxChar *szFileName, bool bOverwrite =
false
,
int access = wxS_DEFAULT);
bool Open(const wxChar *szFileName, OpenMode mode = read,
int access = wxS_DEFAULT);
int access = wxS_DEFAULT);
bool Open(const wxChar *szFileName, OpenMode mode = read,
int access = wxS_DEFAULT);