Check that files returned from wxDir::FindXXX() match the filter.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Apr 2013 10:03:48 +0000 (10:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Apr 2013 10:03:48 +0000 (10:03 +0000)
commit4daceaacbd19768c766c20146771a3eeafc4ac2a
treeaa65dc19e0b919eeb19d03d7271e85ef3278153e
parent6f58f3d7e0ed959dd6a568a70161ec14ec524feb
Check that files returned from wxDir::FindXXX() match the filter.

Native Windows functions used by wxDir check the filter against both the short
and the long name resulting in unexpected results, e.g. searching for
"foo.baz" would find "foo.bazaar".

Fix this by explicitly rechecking that we have a valid match ourselves.

Closes #3432.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
src/msw/dir.cpp