Changeset 7210 for trunk/src/comctl32/listview.c
- Timestamp:
- Oct 26, 2001, 10:08:50 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/listview.c
r7207 r7210 2154 2154 * FAILURE : FALSE (NOT EQUAL) 2155 2155 */ 2156 #ifdef __WIN32OS2__ 2157 static UINT LISTVIEW_GetItemChanges(LISTVIEW_ITEM *lpItem, LPLVITEMA lpLVItem, DWORD lStyle) 2158 #else 2156 2159 static UINT LISTVIEW_GetItemChanges(LISTVIEW_ITEM *lpItem, LPLVITEMA lpLVItem) 2160 #endif 2157 2161 { 2158 2162 UINT uChanged = 0; … … 2213 2217 { 2214 2218 #ifdef __WIN32OS2__ 2215 //SvL: NT's COMCTL32 seems to always update the item, regardless of 2216 // whether the string is different or not. 2217 // Some apps depends on this (CVP) 2218 uChanged |= LVIF_TEXT; 2219 #else 2219 if(lStyle & LVS_OWNERDRAWFIXED) { 2220 //SvL: NT's COMCTL32 seems to always update the item, regardless of 2221 // whether the string is different or not. 2222 // Some apps depends on this (CVP) 2223 //TODO: Might need to send some kind of notification to determine 2224 // if a redraw is really necessary 2225 uChanged |= LVIF_TEXT; 2226 } 2227 else 2228 #endif 2220 2229 if (lpItem->pszText) 2221 2230 { … … 2229 2238 uChanged |= LVIF_TEXT; 2230 2239 } 2231 #endif2232 2240 } 2233 2241 else … … 2627 2635 nmlv.hdr.code = LVN_ITEMCHANGING; 2628 2636 nmlv.lParam = lpItem->lParam; 2637 #ifdef __WIN32OS2__ 2638 uChanged = LISTVIEW_GetItemChanges(lpItem, lpLVItem, lStyle); 2639 #else 2629 2640 uChanged = LISTVIEW_GetItemChanges(lpItem, lpLVItem); 2641 #endif 2630 2642 if (uChanged != 0) 2631 2643 {
Note:
See TracChangeset
for help on using the changeset viewer.