mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 14:53:50 +02:00
carbon: Fixes window creation in Retina displays
git-svn-id: trunk@47605 -
This commit is contained in:
parent
abf9a845da
commit
d3056b750a
@ -1232,6 +1232,9 @@ begin
|
||||
or kWindowLiveResizeAttribute;
|
||||
end;
|
||||
|
||||
// Makes the window look good in Retina displays
|
||||
Attributes := Attributes or kWindowFrameworkScaledAttribute;
|
||||
|
||||
if OSError(
|
||||
CreateNewWindow(NewWindowClass,
|
||||
Attributes, GetCarbonRect(0, 0, 0, 0), AWindow{%H-}),
|
||||
|
Loading…
Reference in New Issue
Block a user