Initialize new m_allow_sort member

Its initial value is otherwise undefined.
This commit is contained in:
Vadim Zeitlin
2021-04-07 01:57:37 +02:00
parent 0ab446140d
commit 8c9c16a578

View File

@@ -3631,6 +3631,7 @@ wxDataViewCtrlInternal::wxDataViewCtrlInternal( wxDataViewCtrl *owner, wxDataVie
m_root = NULL; m_root = NULL;
m_sort_order = GTK_SORT_ASCENDING; m_sort_order = GTK_SORT_ASCENDING;
m_sort_column = -1; m_sort_column = -1;
m_allow_sort = true;
m_dataview_sort_column = NULL; m_dataview_sort_column = NULL;
m_dragDataObject = NULL; m_dragDataObject = NULL;