]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't exclude a bunch of wxDir methods when wxUSE_LONGLONG==0.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Nov 2010 13:52:10 +0000 (13:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 10 Nov 2010 13:52:10 +0000 (13:52 +0000)
The #endif part of a #if wxUSE_LONGLONG check was incorrectly positioned and
excluded the definition of several wxDir methods not related to wxLongLong
when wxUSE_LONGLONG was 0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dircmn.cpp

index df10285229a47d0430eace62424b8110ca0a5636..f5b0c9fe8a824b4c2f958312847dba67d8806976 100644 (file)
@@ -356,6 +356,8 @@ wxULongLong wxDir::GetTotalSize(const wxString &dirname, wxArrayString *filesSki
     return traverser.GetTotalSize();
 }
 
+#endif // wxUSE_LONGLONG
+
 // ----------------------------------------------------------------------------
 // wxDir helpers
 // ----------------------------------------------------------------------------
@@ -378,4 +380,3 @@ bool wxDir::Remove(const wxString &dir, int flags)
     return wxFileName::Rmdir(dir, flags);
 }
 
-#endif // wxUSE_LONGLONG