summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-11-26 16:34:58 +0000
committerManolo Gouy <Manolo>2015-11-26 16:34:58 +0000
commitff65dbb5ae6f0c05703ba9561b2d7acb8f167900 (patch)
treea6f9e34049acf7df77a58b08058095325c9f61bd /FL
parent311bd8971edb2b4419c3de81bdc25e0b4618de3a (diff)
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
Diffstat (limited to 'FL')
-rw-r--r--FL/mac.H1
-rw-r--r--FL/x.H11
2 files changed, 1 insertions, 11 deletions
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