From 5cb0efece9cd930341ef3f42d08519f53c328dea Mon Sep 17 00:00:00 2001 From: blikblum Date: Mon, 31 Dec 2012 13:56:15 +0000 Subject: [PATCH] Remove workaround to bug 18211 (already fixed according to mantis) git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2611 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- .../virtualtreeview-new/branches/4.8/VirtualTrees.pas | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas b/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas index e0a942c5e..6987ad042 100644 --- a/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas +++ b/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas @@ -16441,15 +16441,11 @@ begin if tsVCLDragging in FStates then ImageList_DragShowNolock(False); {$endif} - //todo: workaround to bug 18211. Remove when fixed. - {$ifndef LCLCarbon} + if csPaintCopy in ControlState then FUpdateRect := ClientRect else FUpdateRect := Message.PaintStruct^.rcPaint; - {$else} - FUpdateRect := ClientRect; - {$endif} {$ifdef DEBUG_VTV}Logger.Send([lcPaint],'FUpdateRect', FUpdateRect);{$endif}