diff --git a/src/common/datavcmn.cpp b/src/common/datavcmn.cpp index a7f0ae1f0d..e4e5521bd8 100644 --- a/src/common/datavcmn.cpp +++ b/src/common/datavcmn.cpp @@ -1778,6 +1778,7 @@ wxDataViewChoiceByIndexRenderer::wxDataViewChoiceByIndexRenderer( const wxArrayS wxDataViewCellMode mode, int alignment ) : wxDataViewChoiceRenderer( choices, mode, alignment ) { + m_variantType = wxS("long"); } wxWindow* wxDataViewChoiceByIndexRenderer::CreateEditorCtrl( wxWindow *parent, wxRect labelRect, const wxVariant &value )