customdrawnws: Fixes compilation with fpc 2.4

git-svn-id: trunk@33746 -
This commit is contained in:
sekelsenmat 2011-11-24 07:41:52 +00:00
parent bd3a4c7440
commit a5a68f3e4c

View File

@ -2249,7 +2249,9 @@ begin
exit;
lOldBrush := SelectObject(DC, Brush);
{$ifndef ver2_4}
LazDC.FillRect(Rect);
{$endif}
SelectObject(DC, lOldBrush);
Result := True;