Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1323,12 +1323,12 @@ bool wxDataViewHeaderWindowMSW::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARA
|
|||||||
{
|
{
|
||||||
bool order = col->IsSortOrderAscending();
|
bool order = col->IsSortOrderAscending();
|
||||||
col->SetSortOrder(!order);
|
col->SetSortOrder(!order);
|
||||||
model->SetSortOrderAscending(!order);
|
// model->SetSortOrderAscending(!order);
|
||||||
}
|
}
|
||||||
else if(model)
|
else if(model)
|
||||||
{
|
{
|
||||||
model->SetSortingColumn(idx);
|
model->SetSortingColumn(idx);
|
||||||
model->SetSortOrderAscending(true);
|
// model->SetSortOrderAscending(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
UpdateDisplay();
|
UpdateDisplay();
|
||||||
|
Reference in New Issue
Block a user