diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl.cxx | 12 | ||||
| -rw-r--r-- | src/Fl_Sys_Menu_Bar.mm | 9 |
2 files changed, 9 insertions, 12 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx index ffee65687..a28aa91c2 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -175,18 +175,6 @@ bool Fl::cfg_sys_win32 = 0; const char* fl_local_shift = "\xe2\x87\xa7\\"; // U+21E7 (upwards white arrow) #endif -#if defined(__APPLE__) || defined(FL_DOXYGEN) // PORTME: Fl_Screen_Driver - platform text - // this should probably be part of Fl_Sys_Menubar -// Apple App Menu -const char *Fl_Mac_App_Menu::about = "About %@"; -const char *Fl_Mac_App_Menu::print = "Print Front Window"; -const char *Fl_Mac_App_Menu::services = "Services"; -const char *Fl_Mac_App_Menu::hide = "Hide %@"; -const char *Fl_Mac_App_Menu::hide_others = "Hide Others"; -const char *Fl_Mac_App_Menu::show = "Show All"; -const char *Fl_Mac_App_Menu::quit = "Quit %@"; -#endif // __APPLE__ // PORTME: Fl_Screen_Driver - platform text, system menu - #ifndef FL_DOXYGEN Fl_Widget *Fl::belowmouse_, *Fl::pushed_, diff --git a/src/Fl_Sys_Menu_Bar.mm b/src/Fl_Sys_Menu_Bar.mm index 9a429963a..65141ffd8 100644 --- a/src/Fl_Sys_Menu_Bar.mm +++ b/src/Fl_Sys_Menu_Bar.mm @@ -73,6 +73,15 @@ typedef struct { BOOL use_rank; } sys_menu_item; +// Apple App Menu +const char *Fl_Mac_App_Menu::about = "About %@"; +const char *Fl_Mac_App_Menu::print = "Print Front Window"; +const char *Fl_Mac_App_Menu::services = "Services"; +const char *Fl_Mac_App_Menu::hide = "Hide %@"; +const char *Fl_Mac_App_Menu::hide_others = "Hide Others"; +const char *Fl_Mac_App_Menu::show = "Show All"; +const char *Fl_Mac_App_Menu::quit = "Quit %@"; + @interface FLMenuItem : NSMenuItem { } |
