Fix wxDocManager::GetLastDirectory() when there is no history.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 26 Aug 2009 22:17:57 +0000 (22:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 26 Aug 2009 22:17:57 +0000 (22:17 +0000)
commit0571b62b887f2d9b02084e027e01c1d4881a4713
tree57048d7043ca1ebf954c87658516afcf89e026a0
parentff971416bb7537c1e7e5311497f1f55a3707a33f
Fix wxDocManager::GetLastDirectory() when there is no history.

The most recently opened file should be used only if we have MRU list.

Closes #11145.

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