X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2edb8f3c524f302b727386bb0a694c44fb57e7d..5effc1cf588408f77dbd24b8e0a63f934726c778:/interface/wx/filename.h diff --git a/interface/wx/filename.h b/interface/wx/filename.h index 17c783f03c..cadedb661b 100644 --- a/interface/wx/filename.h +++ b/interface/wx/filename.h @@ -3,7 +3,7 @@ // Purpose: interface of wxFileName // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -37,14 +37,14 @@ enum wxPathFormat */ enum wxSizeConvention { - /// 1000 bytes = 1KiB. - wxSIZE_CONV_REAL_SI, + /// 1024 bytes = 1KB. + wxSIZE_CONV_TRADITIONAL, - /// 1000 bytes = 1KB. - wxSIZE_CONV_TRAD_1000, + /// 1024 bytes = 1KiB. + wxSIZE_CONV_IEC, - /// 1024 bytes = 1KB. - wxSIZE_CONV_TRAD_1024 + /// 1000 bytes = 1KB. + wxSIZE_CONV_SI }; @@ -456,7 +456,7 @@ public: bool DirExists() const; /** - Returns @true if the directory with this name exists. + Returns @true if the directory with name @a dir exists. */ static bool DirExists(const wxString& dir); @@ -475,7 +475,7 @@ public: bool FileExists() const; /** - Returns @true if the file with this name exists. + Returns @true if the file with name @a file exists. @see DirExists() */ @@ -568,13 +568,13 @@ public: wxString GetHumanReadableSize(const wxString& failmsg = _("Not available"), int precision = 1, - wxSizeConvention conv = wxSIZE_CONV_TRADIONAL) const; + wxSizeConvention conv = wxSIZE_CONV_TRADITIONAL) const; static wxString GetHumanReadableSize(const wxULongLong& bytes, const wxString& nullsize = _("Not available"), int precision = 1, - wxSizeConvention conv = wxSIZE_CONV_REAL_SI); + wxSizeConvention conv = wxSIZE_CONV_TRADITIONAL); //@} /**