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:
parent
6b5403c8d6
commit
8af94d3bf1
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user