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
This commit is contained in:
blikblum
2012-12-31 13:56:15 +00:00
parent 04ddb7e465
commit 5cb0efece9

View File

@ -16441,15 +16441,11 @@ begin
if tsVCLDragging in FStates then if tsVCLDragging in FStates then
ImageList_DragShowNolock(False); ImageList_DragShowNolock(False);
{$endif} {$endif}
//todo: workaround to bug 18211. Remove when fixed.
{$ifndef LCLCarbon}
if csPaintCopy in ControlState then if csPaintCopy in ControlState then
FUpdateRect := ClientRect FUpdateRect := ClientRect
else else
FUpdateRect := Message.PaintStruct^.rcPaint; FUpdateRect := Message.PaintStruct^.rcPaint;
{$else}
FUpdateRect := ClientRect;
{$endif}
{$ifdef DEBUG_VTV}Logger.Send([lcPaint],'FUpdateRect', FUpdateRect);{$endif} {$ifdef DEBUG_VTV}Logger.Send([lcPaint],'FUpdateRect', FUpdateRect);{$endif}