diff options
Diffstat (limited to 'src/nsmenu.m')
| -rw-r--r-- | src/nsmenu.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m index 26fe26e5e0d..a4c26fe82ba 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m | |||
| @@ -1506,7 +1506,11 @@ ns_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) | |||
| 1506 | area.size.width = ICONSIZE; | 1506 | area.size.width = ICONSIZE; |
| 1507 | area.size.height= ICONSIZE; | 1507 | area.size.height= ICONSIZE; |
| 1508 | img = [[NSImage imageNamed: @"NSApplicationIcon"] copy]; | 1508 | img = [[NSImage imageNamed: @"NSApplicationIcon"] copy]; |
| 1509 | #ifdef NS_IMPL_COCOA | ||
| 1510 | #if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6 | ||
| 1509 | [img setScalesWhenResized: YES]; | 1511 | [img setScalesWhenResized: YES]; |
| 1512 | #endif | ||
| 1513 | #endif | ||
| 1510 | [img setSize: NSMakeSize (ICONSIZE, ICONSIZE)]; | 1514 | [img setSize: NSMakeSize (ICONSIZE, ICONSIZE)]; |
| 1511 | imgView = [[NSImageView alloc] initWithFrame: area]; | 1515 | imgView = [[NSImageView alloc] initWithFrame: area]; |
| 1512 | [imgView setImage: img]; | 1516 | [imgView setImage: img]; |