Avoid an endless recursion situation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a12482a357
commit
a2d0722f48
@ -2976,7 +2976,12 @@ void wxDataViewColumn::SetResizeable(bool resizeable)
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user