*/
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
};
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);
//@}
/**