cocoa: fix client frame coordinates for NSBox (groupbox). bug #36109

git-svn-id: trunk@62061 -
This commit is contained in:
dmitry 2019-10-15 03:27:22 +00:00
parent 53c619e833
commit bb2517cbf1

View File

@ -477,7 +477,10 @@ begin
if not Assigned(v) then
Result := inherited lclClientFrame
else
Result := NSRectToRect( v.frame );
if v.isFlipped then
Result := NSRectToRect( v.frame )
else
NSToLCLRect(v.frame, frame.size.height, Result);
end;
function TCocoaGroupBox.lclContentView: NSView;