From: Václav Slavík <vslavik@fastmail.fm>
Date: Wed, 14 Dec 2011 17:38:19 +0000 (+0000)
Subject: Remove unnecessary m_editorCtrl assignment.
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c9d3d00cdfb0f7155086216871a006765ec1ffbe

Remove unnecessary m_editorCtrl assignment.

m_editorCtrl is WeakRef<>, so doing it is pointless, and it breaks VC6
compilation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/common/datavcmn.cpp b/src/common/datavcmn.cpp
index 79b97c5c41..9ee735abad 100644
--- a/src/common/datavcmn.cpp
+++ b/src/common/datavcmn.cpp
@@ -742,8 +742,6 @@ void wxDataViewRendererBase::DestroyEditControl()
 
     wxPendingDelete.Append(handler);
     wxPendingDelete.Append(m_editorCtrl);
-
-    m_editorCtrl = NULL;
 }
 
 void wxDataViewRendererBase::CancelEditing()