From ff65dbb5ae6f0c05703ba9561b2d7acb8f167900 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 26 Nov 2015 16:34:58 +0000 Subject: Mac OS only: added the Fl_Mac_App_Menu::custom_application_menu_items() method that allows customization of the application menu on the Mac platform. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10932 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/mac.H | 1 + FL/x.H | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) (limited to 'FL') diff --git a/FL/mac.H b/FL/mac.H index f096adb65..ef235e39d 100644 --- a/FL/mac.H +++ b/FL/mac.H @@ -301,6 +301,7 @@ public: static const char *show; /** Localizable text for the "Quit xxx" application menu item */ static const char *quit; + static void custom_application_menu_items(const Fl_Menu_Item *m); }; /** @} */ diff --git a/FL/x.H b/FL/x.H index 336acff9e..a15b8acd4 100644 --- a/FL/x.H +++ b/FL/x.H @@ -21,17 +21,6 @@ // need to call Xlib directly. These symbols may not exist on non-X // systems. -/** \class Fl_Mac_App_Menu - Mac OS-specific class allowing to localize the application menu. - - These character strings are used to build the application menu. They can be localized - at run time to any UTF-8 text by placing instructions such as this \e very - early in the program: - \verbatim - Fl_Mac_App_Menu::print = "Imprimer la fenĂȘtre"; - \endverbatim -*/ - #if !defined(Fl_X_H) && !defined(FL_DOXYGEN) # define Fl_X_H -- cgit v1.2.3