]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/docview.cpp
1. undid my wrong fix to wxWindowBase::Centre
[wxWidgets.git] / src / common / docview.cpp
index 544e8468d3b379eb5ddc23c21ce61511ae3e2733..3d582f88072f9f36c62f038ba95e166a4f181ff6 100644 (file)
@@ -528,7 +528,7 @@ wxView::wxView()
 
 wxView::~wxView()
 {
 
 wxView::~wxView()
 {
-    GetDocumentManager()->ActivateView(this, FALSE, TRUE);
+//    GetDocumentManager()->ActivateView(this, FALSE, TRUE);
     m_viewDocument->RemoveView(this);
 }
 
     m_viewDocument->RemoveView(this);
 }