Restore documentation of function Fl_Mac_App_Menu::custom_application_menu_items()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12666 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
f5bd951f5c
commit
838168defc
7
FL/mac.H
7
FL/mac.H
@ -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);
|
||||
};
|
||||
|
||||
|
||||
@ -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];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user