From a0863e393af4231c93f917c18ef6b3366153c21e Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 22 Feb 2018 17:04:37 +0000 Subject: 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 --- FL/Fl_Sys_Menu_Bar.H | 7 ------- FL/mac.H | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'FL') 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) */ -- cgit v1.2.3