compilation fixes for wxUSE_LONGLONG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -84,8 +84,10 @@ enum
|
||||
wxPATH_MKDIR_FULL = 0x0001 // create directories recursively
|
||||
};
|
||||
|
||||
#if wxUSE_LONGLONG
|
||||
// error code of wxFileName::GetSize()
|
||||
extern wxULongLong wxInvalidSize;
|
||||
#endif // wxUSE_LONGLONG
|
||||
|
||||
|
||||
|
||||
@@ -483,6 +485,7 @@ public:
|
||||
|
||||
// Filesize
|
||||
|
||||
#if wxUSE_LONGLONG
|
||||
// returns the size of the given filename
|
||||
wxULongLong GetSize() const;
|
||||
static wxULongLong GetSize(const wxString &file);
|
||||
@@ -493,6 +496,7 @@ public:
|
||||
static wxString GetHumanReadableSize(const wxULongLong &sz,
|
||||
const wxString &nullsize = wxGetTranslation(_T("Not available")),
|
||||
int precision = 1);
|
||||
#endif // wxUSE_LONGLONG
|
||||
|
||||
|
||||
// deprecated methods, don't use any more
|
||||
|
Reference in New Issue
Block a user