mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-27 18:33:50 +02:00
customdrawnws: Fixes compilation with fpc 2.4
git-svn-id: trunk@33746 -
This commit is contained in:
parent
bd3a4c7440
commit
a5a68f3e4c
@ -2249,7 +2249,9 @@ begin
|
||||
exit;
|
||||
|
||||
lOldBrush := SelectObject(DC, Brush);
|
||||
{$ifndef ver2_4}
|
||||
LazDC.FillRect(Rect);
|
||||
{$endif}
|
||||
SelectObject(DC, lOldBrush);
|
||||
|
||||
Result := True;
|
||||
|
Loading…
Reference in New Issue
Block a user