Moved the initializations of Fl_Mac_App_Menu class fields to file Fl.cxx for Doxygen use.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2011-02-03 11:11:31 +00:00
parent 9bca5472d5
commit fe367d1309
2 changed files with 9 additions and 8 deletions

View File

@ -66,6 +66,15 @@ extern double fl_mac_flush_and_wait(double time_to_wait, char in_idle);
//
// Globals...
//
#if defined(__APPLE__) || defined(FL_DOXYGEN)
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__
#ifndef FL_DOXYGEN
Fl_Widget *Fl::belowmouse_,
*Fl::pushed_,

View File

@ -2805,14 +2805,6 @@ int Fl_X::screen_init(XRectangle screens[], float dpi[])
}
@end
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 ";
static NSMenu *appleMenu;
static void createAppleMenu(void)
{