From daa8fd03f3ad381d1f59d9106922e2d89cbf2e7c Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Fri, 21 Nov 2014 17:00:29 +0000 Subject: [PATCH] fix "wrong type" error when using wxDataViewChoiceByIndexRenderer, closes #15955 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dataview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp index d533950b94..dc765cbc73 100644 --- a/src/gtk/dataview.cpp +++ b/src/gtk/dataview.cpp @@ -2730,6 +2730,7 @@ wxDataViewChoiceByIndexRenderer::wxDataViewChoiceByIndexRenderer( const wxArrayS wxDataViewCellMode mode, int alignment ) : wxDataViewChoiceRenderer( choices, mode, alignment ) { + m_variantType = wxS("long"); } void wxDataViewChoiceByIndexRenderer::GtkOnTextEdited(const char *itempath, const wxString& str)