Piotr Caban : comctl32: Refresh listview after sorting.
Alexandre Julliard
julliard at winehq.org
Mon Jun 20 14:24:13 CDT 2011
Module: wine
Branch: master
Commit: 02c224edf986c329c0856289ed59e6029e0f3f48
URL: http://source.winehq.org/git/wine.git/?a=commit;h=02c224edf986c329c0856289ed59e6029e0f3f48
Author: Piotr Caban <piotr at codeweavers.com>
Date: Mon Jun 20 12:46:49 2011 +0200
comctl32: Refresh listview after sorting.
---
dlls/comctl32/listview.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 119e685..2b3adf5 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -9130,9 +9130,7 @@ static BOOL LISTVIEW_SortItems(LISTVIEW_INFO *infoPtr, PFNLVCOMPARE pfnCompare,
/* I believe nHotItem should be left alone, see LISTVIEW_ShiftIndices */
/* refresh the display */
- if (infoPtr->uView != LV_VIEW_ICON && infoPtr->uView != LV_VIEW_SMALLICON)
- LISTVIEW_InvalidateList(infoPtr);
-
+ LISTVIEW_InvalidateList(infoPtr);
return TRUE;
}
More information about the wine-cvs
mailing list