diff options
| -rw-r--r-- | FL/mac.H | 7 | ||||
| -rw-r--r-- | src/Fl_MacOS_Sys_Menu_Bar.mm | 7 |
2 files changed, 6 insertions, 8 deletions
@@ -109,7 +109,7 @@ extern CGContextRef fl_gc; */ /** \defgroup group_macosx Mac OS X-specific symbols - Mac OS X-specific symbols declared in <FL/platform.H> or <FL/gl.h> + Mac OS X-specific symbols declared in <FL/platform.H> \sa \ref osissues_macos @{ */ @@ -143,6 +143,11 @@ public: static const char *show; /** Localizable text for the "Quit xxx" application menu item */ static const char *quit; + /** Adds custom menu item(s) to the application menu of the system menu bar. + They are positioned after the "Print Front Window" item, or at its place + if it was removed with <tt>Fl_Mac_App_Menu::print = ""</tt>. + \param m zero-ending array of Fl_Menu_Item 's. + */ static void custom_application_menu_items(const Fl_Menu_Item *m); }; diff --git a/src/Fl_MacOS_Sys_Menu_Bar.mm b/src/Fl_MacOS_Sys_Menu_Bar.mm index b5a9fba9a..0b6cb1896 100644 --- a/src/Fl_MacOS_Sys_Menu_Bar.mm +++ b/src/Fl_MacOS_Sys_Menu_Bar.mm @@ -505,12 +505,6 @@ int Fl_MacOS_Sys_Menu_Bar_Driver::insert(int index, const char* label, int short \see \ref osissues_macos for another way to localization. */ - -/** Adds custom menu item(s) to the application menu of the system menu bar. - They are positioned after the "Print Front Window" item, or at its place - if it was removed with <tt>Fl_Mac_App_Menu::print = ""</tt>. - \param m zero-ending array of Fl_Menu_Item 's. - */ void Fl_Mac_App_Menu::custom_application_menu_items(const Fl_Menu_Item *m) { fl_open_display(); // create the system menu, if needed @@ -534,7 +528,6 @@ void Fl_Mac_App_Menu::custom_application_menu_items(const Fl_Menu_Item *m) } } - static void minimize_win_cb(Fl_Widget *, void *data) { [[NSApp mainWindow] miniaturize:nil]; |
