mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bustage fix, NSRectFromCGRect is 10.5 only.
This commit is contained in:
parent
f26217a9b2
commit
55b0ac00c2
@ -242,7 +242,7 @@ nsNativeThemeCocoa::DrawCellWithScaling(NSCell *cell,
|
||||
{
|
||||
NS_OBJC_BEGIN_TRY_ABORT_BLOCK;
|
||||
|
||||
NSRect drawRect = NSRectFromCGRect(destRect);
|
||||
NSRect drawRect = NSMakeRect(destRect.origin.x, destRect.origin.y, destRect.size.width, destRect.size.height);
|
||||
|
||||
CGAffineTransform savedCTM;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user