X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a8df8389120ef7089f00068df41de6941b769274..e047f594b679f986f8522439e8d2630e119558fd:/src/common/dircmn.cpp?ds=sidebyside diff --git a/src/common/dircmn.cpp b/src/common/dircmn.cpp index 6549a4ae5f..30e47dd782 100644 --- a/src/common/dircmn.cpp +++ b/src/common/dircmn.cpp @@ -35,9 +35,6 @@ #include "wx/dir.h" #include "wx/filename.h" -// error code of wxFileName::GetSize() -extern wxULongLong wxInvalidSize; - // ============================================================================ // implementation // ============================================================================ @@ -294,6 +291,8 @@ wxString wxDir::FindFirst(const wxString& dirname, // wxDir::GetTotalSize() // ---------------------------------------------------------------------------- +#if wxUSE_LONGLONG + class wxDirTraverserSumSize : public wxDirTraverser { public: @@ -358,3 +357,4 @@ wxULongLong wxDir::GetTotalSize(const wxString &dirname, wxArrayString *filesSki return traverser.GetTotalSize(); } +#endif // wxUSE_LONGLONG