You've already forked lazarus-ccr
* Replace ZeroMemory by FillChar
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4093 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -9314,7 +9314,7 @@ begin
|
|||||||
OwnerDraw := (hoOwnerDraw in FHeader.FOptions) and Assigned(FHeader.Treeview.FOnHeaderDraw) and
|
OwnerDraw := (hoOwnerDraw in FHeader.FOptions) and Assigned(FHeader.Treeview.FOnHeaderDraw) and
|
||||||
not (csDesigning in FHeader.Treeview.ComponentState) and not AdvancedOwnerDraw;
|
not (csDesigning in FHeader.Treeview.ComponentState) and not AdvancedOwnerDraw;
|
||||||
|
|
||||||
ZeroMemory(@PaintInfo, SizeOf(PaintInfo));
|
FillChar(PaintInfo, SizeOf(PaintInfo), #0);
|
||||||
PaintInfo.TargetCanvas := TargetCanvas;
|
PaintInfo.TargetCanvas := TargetCanvas;
|
||||||
|
|
||||||
with PaintInfo, TargetCanvas do
|
with PaintInfo, TargetCanvas do
|
||||||
|
Reference in New Issue
Block a user