diff --git a/lcl/interfaces/wince/wincewscustomlistview.inc b/lcl/interfaces/wince/wincewscustomlistview.inc index 8f4fcbe5fd..9ede1f2b43 100644 --- a/lcl/interfaces/wince/wincewscustomlistview.inc +++ b/lcl/interfaces/wince/wincewscustomlistview.inc @@ -408,7 +408,7 @@ begin if not WSCheckHandleAllocated(ALV, 'BeginUpdate') then Exit; - inherited BeginUpdate(ALV); + SendMessage(ALV.Handle,WM_SETREDRAW,WPARAM(False),0); end; class procedure TWinCEWSCustomListView.EndUpdate(const ALV: TCustomListView); @@ -416,7 +416,7 @@ begin if not WSCheckHandleAllocated(ALV, 'EndUpdate') then Exit; - inherited EndUpdate(ALV); + SendMessage(ALV.Handle,WM_SETREDRAW,WPARAM(True),0); end; class function TWinCEWSCustomListView.GetBoundingRect(const ALV: TCustomListView): TRect;