diff options
Diffstat (limited to 'src/nsmenu.m')
| -rw-r--r-- | src/nsmenu.m | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m index 5c6442ad0e8..59ea3855ed1 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m | |||
| @@ -1519,11 +1519,6 @@ ns_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) | |||
| 1519 | area.size.width = ICONSIZE; | 1519 | area.size.width = ICONSIZE; |
| 1520 | area.size.height= ICONSIZE; | 1520 | area.size.height= ICONSIZE; |
| 1521 | img = [[NSImage imageNamed: @"NSApplicationIcon"] copy]; | 1521 | img = [[NSImage imageNamed: @"NSApplicationIcon"] copy]; |
| 1522 | #ifdef NS_IMPL_COCOA | ||
| 1523 | #if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6 | ||
| 1524 | [img setScalesWhenResized: YES]; | ||
| 1525 | #endif | ||
| 1526 | #endif | ||
| 1527 | [img setSize: NSMakeSize (ICONSIZE, ICONSIZE)]; | 1522 | [img setSize: NSMakeSize (ICONSIZE, ICONSIZE)]; |
| 1528 | imgView = [[NSImageView alloc] initWithFrame: area]; | 1523 | imgView = [[NSImageView alloc] initWithFrame: area]; |
| 1529 | [imgView setImage: img]; | 1524 | [imgView setImage: img]; |