summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-02-22 17:04:37 +0000
committerManolo Gouy <Manolo>2018-02-22 17:04:37 +0000
commita0863e393af4231c93f917c18ef6b3366153c21e (patch)
tree2d6163004009b188c9764eb8d926bd57716e17ea /FL
parent9dce38099a02a6ae2b3fde282f716aff0987a34d (diff)
Document that fl_mac_set_about() is deprecated, MacOS-specific and replaced by cross-platform Fl_Sys_Menu_Bar::about().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12685 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Sys_Menu_Bar.H7
-rw-r--r--FL/mac.H7
2 files changed, 7 insertions, 7 deletions
diff --git a/FL/Fl_Sys_Menu_Bar.H b/FL/Fl_Sys_Menu_Bar.H
index d89cc2d61..551ebc387 100644
--- a/FL/Fl_Sys_Menu_Bar.H
+++ b/FL/Fl_Sys_Menu_Bar.H
@@ -104,13 +104,6 @@ public:
extern Fl_Sys_Menu_Bar *fl_sys_menu_bar;
-/**
- * Attaches a callback to the "About myprog" item of the system application menu.
- For back-compatibility. Equivalent to Fl_Sys_Menu_Bar::about(cb, user_data).
- */
-inline void fl_mac_set_about(Fl_Callback *cb, void *user_data, int shortcut = 0) { Fl_Sys_Menu_Bar::about(cb, user_data);}
-
-
#endif // Fl_Sys_Menu_Bar_H
//
diff --git a/FL/mac.H b/FL/mac.H
index 0e7b9cc79..ffb28f190 100644
--- a/FL/mac.H
+++ b/FL/mac.H
@@ -113,6 +113,13 @@ extern CGContextRef fl_gc;
\sa \ref osissues_macos
@{ */
+/**
+ * Attaches a callback to the "About myprog" item of the system application menu.
+ For back-compatibility.
+ Equivalent to Fl_Sys_Menu_Bar::about(Fl_Callback *cb, void *user_data).
+ */
+void fl_mac_set_about(Fl_Callback *cb, void *user_data, int shortcut = 0);
+
/** \brief The version number of the running Mac OS X (e.g., 100604 for 10.6.4)
*/