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:
@@ -906,6 +906,8 @@ bool wxDocManager::Clear(bool force)
|
|||||||
if (!CloseDocuments(force))
|
if (!CloseDocuments(force))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
m_currentView = NULL;
|
||||||
|
|
||||||
wxList::compatibility_iterator node = m_templates.GetFirst();
|
wxList::compatibility_iterator node = m_templates.GetFirst();
|
||||||
while (node)
|
while (node)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user