diff options
| author | Manolo Gouy <Manolo> | 2010-11-30 19:08:02 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-11-30 19:08:02 +0000 |
| commit | 6c1f31ff209cce620baf09baac20d2db7010e2e3 (patch) | |
| tree | 1660e328bde9996644448fb39935ff3fc25a32dc | |
| parent | 0d6177412a55f980fa774299ad8de03f5f816337 (diff) | |
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
| -rw-r--r-- | src/Fl_cocoa.mm | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |
