Change the way directory iteration flags are constructed.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Oct 2012 23:57:07 +0000 (23:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Oct 2012 23:57:07 +0000 (23:57 +0000)
commit6bf11d6720bc0ef58d68c454cc1f5e9772d41391
treecb2787921b6db0b65a3216fd0e01e6542f0e0a58
parente264485aac3699e8bd876c3feeee2eb48c61a81f
Change the way directory iteration flags are constructed.

Instead of explicitly constructing the flags from the flags that should be
included, construct them by excluding the flags that shouldn't be used. This
makes the code more stable in the sense that it will continue to work when new
flags, such as the upcoming wxDIR_NO_FOLLOW, are added.

See #14542.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/dircmn.cpp