diff --git a/src/common/datavcmn.cpp b/src/common/datavcmn.cpp index ad62ddae04..1dde0aadd1 100644 --- a/src/common/datavcmn.cpp +++ b/src/common/datavcmn.cpp @@ -760,10 +760,10 @@ bool wxDataViewRendererBase::FinishEditing() wxDataViewCtrl* dv_ctrl = GetOwner()->GetOwner(); - dv_ctrl->GetMainWindow()->SetFocus(); - DestroyEditControl(); + dv_ctrl->GetMainWindow()->SetFocus(); + bool isValid = Validate(value); unsigned int col = GetOwner()->GetModelColumn();