diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-02-28 16:47:44 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-02-28 16:47:44 +0100 |
| commit | 87c994e2f8f094dedca9429dc13cd9fe953c0dc1 (patch) | |
| tree | 9070466beb8d3a5454c48e2e46bb434aedb7ba0e /src/Fl_cocoa.mm | |
| parent | e18de6ff0306489460879f5d805eb8d00f95cf95 (diff) | |
Fl_Sys_Menu_Bar: make it strict equivalent of Fl_Menu_Bar outside macOS
Diffstat (limited to 'src/Fl_cocoa.mm')
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 5d789f032..258209091 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -2930,7 +2930,7 @@ Fl_X* Fl_Cocoa_Window_Driver::makeWindow() fl_open_display(); NSInteger winlevel = NSNormalWindowLevel; NSUInteger winstyle; - Fl_Sys_Menu_Bar::driver()->create_window_menu(); // effective once at most + Fl_Sys_Menu_Bar::create_window_menu(); // effective once at most Fl_Window* w = pWindow; if (w->parent()) { w->border(0); |
