Compile fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-08-18 11:26:24 +00:00
parent c7bfb76a2c
commit b9d30e5f8f

View File

@@ -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();