]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/filename.h
Fix typo in wxStandardPathsBase::ResourceCat description and document it.
[wxWidgets.git] / interface / wx / filename.h
index 17c783f03c88cf4fcdea3928bc302f70e4ff0bfb..cadedb661be2f05051e4e8f83d5c5981969a64b1 100644 (file)
@@ -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);
     //@}
 
     /**