diff --git a/src/common/datavcmn.cpp b/src/common/datavcmn.cpp index d7c7b04bb3..ce8c0530ff 100644 --- a/src/common/datavcmn.cpp +++ b/src/common/datavcmn.cpp @@ -703,8 +703,6 @@ bool wxDataViewRendererBase::StartEditing( const wxDataViewItem &item, wxRect la m_editorCtrl->SetFocus(); #endif - NotifyEditingStarted(item); - return true; } diff --git a/src/generic/datavgen.cpp b/src/generic/datavgen.cpp index a8408c641c..d116af19fb 100644 --- a/src/generic/datavgen.cpp +++ b/src/generic/datavgen.cpp @@ -2251,6 +2251,8 @@ wxDataViewMainWindow::StartEditing(const wxDataViewItem& item, const wxRect itemRect = GetItemRect(item, col); if ( renderer->StartEditing(item, itemRect) ) { + renderer->NotifyEditingStarted(item); + // Save the renderer to be able to finish/cancel editing it later and // save the control to be able to detect if we're still editing it. m_editorRenderer = renderer;