mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 19:59:31 +02:00
parent
39dd581366
commit
6bdc560d73
@ -2,7 +2,7 @@
|
||||
{**************************************************************
|
||||
Implementation for winprinter
|
||||
***************************************************************}
|
||||
Uses WinUtilPrn, InterfaceBase, LCLIntf, WinVer;
|
||||
Uses InterfaceBase, LCLIntf, WinVer, WinUtilPrn;
|
||||
|
||||
// todo: this ^ is a mess: mixed WinUtilPrn/Windows units clean...
|
||||
|
||||
@ -81,7 +81,7 @@ begin
|
||||
if (Printers.Count>0) and not RawMode then
|
||||
begin
|
||||
SetDC;
|
||||
Result:=GetDeviceCaps(fDC, LOGPIXELSX);
|
||||
Result:=windows.GetDeviceCaps(fDC, LOGPIXELSX);
|
||||
end;
|
||||
end;
|
||||
|
||||
@ -91,7 +91,7 @@ begin
|
||||
if (Printers.Count>0) and not RawMode then
|
||||
begin
|
||||
SetDC;
|
||||
Result:=GetDeviceCaps(fDC,LOGPIXELSY);
|
||||
Result:=windows.GetDeviceCaps(fDC,LOGPIXELSY);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user