From 74d43044d3ad0f875034a1ee5510507ff59a70c8 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sat, 20 May 2017 16:50:40 +0200 Subject: [PATCH] Nextstep: Replace deprecated enumerators * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:): Replace deprecated enumerator. --- src/nsmenu.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsmenu.m b/src/nsmenu.m index 8dcbe194d57..37a1a62d6d3 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m @@ -1517,7 +1517,7 @@ ns_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) [img autorelease]; [imgView autorelease]; - aStyle = NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSUtilityWindowMask; + aStyle = NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMaskUtilityWindow; flag = YES; rows = 0; cols = 1; -- 2.39.2