* Fixed bug ID #25675

git-svn-id: trunk@26723 -
This commit is contained in:
michael 2014-02-08 11:45:56 +00:00
parent 576eadf6c9
commit c0ea463b7f

View File

@ -609,7 +609,7 @@ begin
nb:= Brush.style <> bsClear; // Need brush ?
dp:=(pen is TFPCustomDrawPen); // Pen 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)
else
begin