mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 05:09:19 +02:00
parent
576eadf6c9
commit
c0ea463b7f
@ -609,7 +609,7 @@ begin
|
|||||||
nb:= Brush.style <> bsClear; // Need brush ?
|
nb:= Brush.style <> bsClear; // Need brush ?
|
||||||
dp:=(pen is TFPCustomDrawPen); // Pen draws ?
|
dp:=(pen is TFPCustomDrawPen); // Pen draws ?
|
||||||
db:=(brush is TFPCustomDrawBrush); // Brush draws ?
|
db:=(brush is TFPCustomDrawBrush); // Brush draws ?
|
||||||
if (np and nb) and not (db or db) then
|
if (np and nb) and not (db or dp) then
|
||||||
DoRectangleAndFill (bounds)
|
DoRectangleAndFill (bounds)
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user