mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 21:39:49 +02:00
win64: fix compilation
git-svn-id: trunk@17135 -
This commit is contained in:
parent
92caf0d923
commit
592d0ebfd3
@ -1328,8 +1328,13 @@ end;
|
||||
|
||||
function TWin32WidgetSet.ExtCreatePen(dwPenStyle, dwWidth: DWord;
|
||||
const lplb: TLogBrush; dwStyleCount: DWord; lpStyle: PDWord): HPEN;
|
||||
var
|
||||
LB: Windows.LogBrush;
|
||||
begin
|
||||
Result := Windows.ExtCreatePen(dwPenStyle, dwWidth, Windows.TLOGBRUSH(lplb), dwStyleCount, lpStyle);
|
||||
LB.lbStyle := lplb.lbStyle;
|
||||
LB.lbColor := Windows.COLORREF(ColorToRGB(lplb.lbColor));
|
||||
LB.lbHatch := lplb.lbHatch;
|
||||
Result := Windows.ExtCreatePen(dwPenStyle, dwWidth, LB, dwStyleCount, lpStyle);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user