You've already forked lazarus-ccr
* Use DrawFrameControl from LCL
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1234 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -22183,8 +22183,8 @@ procedure TBaseVirtualTree.PaintCheckImage(const PaintInfo: TVTPaintInfo);
|
|||||||
ButtonState := ButtonState or DFCS_CHECKED;
|
ButtonState := ButtonState or DFCS_CHECKED;
|
||||||
if Flat then
|
if Flat then
|
||||||
ButtonState := ButtonState or DFCS_FLAT;
|
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;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user