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:
Vadim Zeitlin
2007-07-10 23:19:17 +00:00
parent 8c7f47ddde
commit bd08f2f766
4 changed files with 14 additions and 0 deletions

View File

@@ -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