]> git.saurik.com Git - wxWidgets.git/commitdiff
Correct documentation of wxSizeConvention elements.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Apr 2010 10:50:37 +0000 (10:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 7 Apr 2010 10:50:37 +0000 (10:50 +0000)
1KiB is 1024 bytes, not 1000. Also put the elements in the correct order (same
as in the real header).

See #10673.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/filename.h

index 1b098a6acbf9937f226beca225453d03c6bdcbe4..0e78b2d38fa7933ff004c1ce0e0b8061afbb0311 100644 (file)
@@ -37,14 +37,14 @@ enum wxPathFormat
 */
 enum wxSizeConvention
 {
-    /// 1000 bytes = 1KiB.
+    /// 1024 bytes = 1KB.
+    wxSIZE_CONV_TRADITIONAL,
+
+    /// 1024 bytes = 1KiB.
     wxSIZE_CONV_IEC,
 
     /// 1000 bytes = 1KB.
-    wxSIZE_CONV_SI,
-
-    /// 1024 bytes = 1KB.
-    wxSIZE_CONV_TRADITIONAL
+    wxSIZE_CONV_SI
 };