Fix DirTestCase to run on the systems without "C:" drive.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Oct 2010 17:15:52 +0000 (17:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Oct 2010 17:15:52 +0000 (17:15 +0000)
commitcb5eef9d872409bb78e48a6db355988e1263df18
treec9e769e645617034874c256a8d82aa84171d1e1b
parent12249b199d934303a4043fa53717683d6d5ff208
Fix DirTestCase to run on the systems without "C:" drive.

"C:" drive doesn't need to exist under Windows, rely on HOMEDRIVE environment
variable defined in all recent Windows versions to get a valid drive letter
(still fall back to "C:" if the variable is not defined -- we could have use
wxFSVolume to find it then but this seems like an overkill).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
tests/file/dir.cpp