]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dircmn.cpp
Take basic style into account when showing style under cursor
[wxWidgets.git] / src / common / dircmn.cpp
index 1674029b6dc621f23f5bd57a400095af59855b7d..30e47dd78284e7914c506581b74d3fa33be52965 100644 (file)
@@ -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