X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23b8a2629903027852d7506162b7b0f44bd9f912..3f239e37605aa38b26b3954565b865600a4152aa:/src/common/dircmn.cpp diff --git a/src/common/dircmn.cpp b/src/common/dircmn.cpp index 1674029b6d..30e47dd782 100644 --- a/src/common/dircmn.cpp +++ b/src/common/dircmn.cpp @@ -291,10 +291,12 @@ wxString wxDir::FindFirst(const wxString& dirname, // wxDir::GetTotalSize() // ---------------------------------------------------------------------------- +#if wxUSE_LONGLONG + class wxDirTraverserSumSize : public wxDirTraverser { public: - wxDirTraverserSumSize() { m_skippedFiles=false; } + wxDirTraverserSumSize() { } virtual wxDirTraverseResult OnFile(const wxString& filename) { @@ -355,3 +357,4 @@ wxULongLong wxDir::GetTotalSize(const wxString &dirname, wxArrayString *filesSki return traverser.GetTotalSize(); } +#endif // wxUSE_LONGLONG