From 6c1f31ff209cce620baf09baac20d2db7010e2e3 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 30 Nov 2010 19:08:02 +0000 Subject: [PATCH] Mac OS X: Added shadows to menu and tooltip windows; this was lost when going Cocoa. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index aa0e262e4..8666a252f 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -1964,6 +1964,7 @@ void Fl_X::make(Fl_Window* w) styleMask:winstyle backing:NSBackingStoreBuffered defer:NO]; + [cw setHasShadow:YES]; [cw setAcceptsMouseMovedEvents:YES]; x->xid = cw; FLView *myview = [[FLView alloc] init];