projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6b5403c
)
reset m_currentView in wxDocManager::Clear() (patch 1106872)
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 31 Jan 2005 22:34:38 +0000
(22:34 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Mon, 31 Jan 2005 22:34:38 +0000
(22:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31684
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/docview.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/docview.cpp
b/src/common/docview.cpp
index 551e02f516bb92ccd49c9a708eefc9c190b26fd9..f6f41c4e1146c26e290688e32078149fdb69d984 100644
(file)
--- a/
src/common/docview.cpp
+++ b/
src/common/docview.cpp
@@
-906,6
+906,8
@@
bool wxDocManager::Clear(bool force)
if (!CloseDocuments(force))
return false;
if (!CloseDocuments(force))
return false;
+ m_currentView = NULL;
+
wxList::compatibility_iterator node = m_templates.GetFirst();
while (node)
{
wxList::compatibility_iterator node = m_templates.GetFirst();
while (node)
{