git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65625
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxDataViewColumn::SetSortable(bool sortable)
{
void wxDataViewColumn::SetSortable(bool sortable)
{
- wxDataViewColumnBase::SetSortable(sortable);
+ // wxDataViewColumnBase::SetSortable(sortable);
+ // Avoid endless recursion and just set the flag here
+ if (sortable)
+ m_flags |= wxDATAVIEW_COL_SORTABLE;
+ else
+ m_flags &= ~wxDATAVIEW_COL_SORTABLE;
}
void wxDataViewColumn::SetSortOrder(bool ascending)
}
void wxDataViewColumn::SetSortOrder(bool ascending)