From d7b08524986c5faf2f238f5707a8f6336c48daa2 Mon Sep 17 00:00:00 2001 From: blikblum Date: Sun, 13 Jun 2010 14:09:29 +0000 Subject: [PATCH] * Use DrawFrameControl from LCL git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1234 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/virtualtreeview-new/branches/4.8/VirtualTrees.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas b/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas index 8c230645b..7e3e26d5f 100644 --- a/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas +++ b/components/virtualtreeview-new/branches/4.8/VirtualTrees.pas @@ -22183,8 +22183,8 @@ procedure TBaseVirtualTree.PaintCheckImage(const PaintInfo: TVTPaintInfo); ButtonState := ButtonState or DFCS_CHECKED; if Flat then ButtonState := ButtonState or DFCS_FLAT; - //lcl DrawFrameControl is different from windows - DelphiCompat.DrawFrameControl(Canvas.Handle, R, DFC_BUTTON, ButtonType or ButtonState); + + DrawFrameControl(Canvas.Handle, R, DFC_BUTTON, ButtonType or ButtonState); end;