]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove unnecessary m_editorCtrl assignment.
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 14 Dec 2011 17:38:19 +0000 (17:38 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 14 Dec 2011 17:38:19 +0000 (17:38 +0000)
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

src/common/datavcmn.cpp

index 79b97c5c4173c84c85eb5aa7940ab27383f6298b..9ee735abade130b9d34cbff909cc5d93131e3d6e 100644 (file)
@@ -742,8 +742,6 @@ void wxDataViewRendererBase::DestroyEditControl()
 
     wxPendingDelete.Append(handler);
     wxPendingDelete.Append(m_editorCtrl);
-
-    m_editorCtrl = NULL;
 }
 
 void wxDataViewRendererBase::CancelEditing()