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
This commit is contained in:
@@ -2730,6 +2730,7 @@ wxDataViewChoiceByIndexRenderer::wxDataViewChoiceByIndexRenderer( const wxArrayS
|
|||||||
wxDataViewCellMode mode, int alignment ) :
|
wxDataViewCellMode mode, int alignment ) :
|
||||||
wxDataViewChoiceRenderer( choices, mode, alignment )
|
wxDataViewChoiceRenderer( choices, mode, alignment )
|
||||||
{
|
{
|
||||||
|
m_variantType = wxS("long");
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxDataViewChoiceByIndexRenderer::GtkOnTextEdited(const char *itempath, const wxString& str)
|
void wxDataViewChoiceByIndexRenderer::GtkOnTextEdited(const char *itempath, const wxString& str)
|
||||||
|
Reference in New Issue
Block a user