mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 22:19:17 +02:00
CustomDrawn: Add missing result value of function TCDWidgetSet.DrawFocusRect. Patch by lagprogramming.
This commit is contained in:
parent
f55ce5c939
commit
da8a33d43f
@ -1086,6 +1086,8 @@ begin
|
|||||||
GetDefaultDrawer().DrawFocusRect(LazDC, Types.Point(Rect.Left, Rect.Top),
|
GetDefaultDrawer().DrawFocusRect(LazDC, Types.Point(Rect.Left, Rect.Top),
|
||||||
Types.Size(Rect.Right - Rect.Left, Rect.Bottom - Rect.Top));
|
Types.Size(Rect.Right - Rect.Left, Rect.Bottom - Rect.Top));
|
||||||
LazDC.RestoreState(-1);
|
LazDC.RestoreState(-1);
|
||||||
|
|
||||||
|
Result := True;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TCDWidgetSet.DrawFrameControl(DC: HDC; const Rect: TRect; uType,
|
function TCDWidgetSet.DrawFrameControl(DC: HDC; const Rect: TRect; uType,
|
||||||
|
Loading…
Reference in New Issue
Block a user