X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b70c946a39362f054e0248d759dd2e6eb1137d9..6b03a638a437316e47f02a896d3ad664d59c6ddb:/interface/wx/filename.h diff --git a/interface/wx/filename.h b/interface/wx/filename.h index f44879b813..010617a97d 100644 --- a/interface/wx/filename.h +++ b/interface/wx/filename.h @@ -580,7 +580,7 @@ public: not be read (because e.g. the file is locked by another process) the returned value is ::wxInvalidSize. */ - wxULongLong GetSize(); + wxULongLong GetSize() const; /** Returns the size of the file If the file does not exist or its size could @@ -830,7 +830,8 @@ public: Creates a directory. @param perm - The permissions for the newly created directory + The permissions for the newly created directory. + See the ::wxPosixPermissions enumeration for more info. @param flags If the flags contain @c wxPATH_MKDIR_FULL flag, try to create each directory in the path and also don't return an error if the target @@ -839,24 +840,25 @@ public: @return Returns @true if the directory was successfully created, @false otherwise. */ - bool Mkdir(int perm = 0777, int flags = 0); + bool Mkdir(int perm = wxS_DIR_DEFAULT, int flags = 0); /** Creates a directory. @param dir - the directory to create + The directory to create @param parm - the permissions for the newly created directory + The permissions for the newly created directory. + See the ::wxPosixPermissions enumeration for more info. @param flags - if the flags contain @c wxPATH_MKDIR_FULL flag, try to create each + If the flags contain @c wxPATH_MKDIR_FULL flag, try to create each directory in the path and also don't return an error if the target directory already exists. @return Returns @true if the directory was successfully created, @false otherwise. */ - static bool Mkdir(const wxString& dir, int perm = 0777, + static bool Mkdir(const wxString& dir, int perm = wxS_DIR_DEFAULT, int flags = 0); /**