carbon: Patch from bug #22454 High resolution canvas for Retina displays

git-svn-id: trunk@52694 -
This commit is contained in:
sekelsenmat 2016-07-15 19:10:10 +00:00
parent 297e19a349
commit b4d93e4f9e
3 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,7 @@ begin
kWindowCompositingAttribute or
kWindowStandardDocumentAttributes or
// kWindowLiveResizeAttribute or
kWindowStandardHandlerAttribute,
kWindowStandardHandlerAttribute or kWindowFrameworkScaledAttribute,
R, W
);
if W = nil then Exit;

View File

@ -428,7 +428,7 @@ begin
if OSError(
CreateNewWindow(kHelpWindowClass,
kWindowCompositingAttribute or
kWindowHideOnSuspendAttribute or kWindowStandardHandlerAttribute,
kWindowHideOnSuspendAttribute or kWindowStandardHandlerAttribute or kWindowFrameworkScaledAttribute,
ParamsToCarbonRect(AParams), AWindow{%H-}),
Self, SCreateWidget, 'CreateNewWindow') then RaiseCreateWidgetError(LCLObject);

View File

@ -596,7 +596,7 @@ begin
if OSError(
CreateNewWindow(kModalWindowClass,
kWindowCompositingAttribute or kWindowStandardHandlerAttribute, GetCarbonRect(0, 0, 0, 0), Dialog{%H-}),
kWindowCompositingAttribute or kWindowStandardHandlerAttribute or kWindowFrameworkScaledAttribute, GetCarbonRect(0, 0, 0, 0), Dialog{%H-}),
Self, SShowModal, 'CreateNewWindow') then Exit;
try