reset m_currentView in wxDocManager::Clear() (patch 1106872)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-01-31 22:34:38 +00:00
parent 6b5403c8d6
commit 8af94d3bf1

View File

@ -906,6 +906,8 @@ bool wxDocManager::Clear(bool force)
if (!CloseDocuments(force))
return false;
m_currentView = NULL;
wxList::compatibility_iterator node = m_templates.GetFirst();
while (node)
{