From 291cf838bf15eb55aadb828738eba7ed400a72a4 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 13 Dec 2015 13:24:17 +0000 Subject: Allowing to use FLTK objects in static initializers (cont'd). Mac OS: a more convenient position where to initialize the fl_fonts global variable. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10964 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Widget.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/Fl_Widget.cxx') diff --git a/src/Fl_Widget.cxx b/src/Fl_Widget.cxx index edc904055..74287640b 100644 --- a/src/Fl_Widget.cxx +++ b/src/Fl_Widget.cxx @@ -145,9 +145,6 @@ Fl_Widget::Fl_Widget(int X, int Y, int W, int H, const char* L) { if (!been_here) { been_here = 1; Fl_Display_Device::display_device(); // make sure fl_graphics_driver is initialized -#ifdef __APPLE__ - fl_fonts = Fl_X::calc_fl_fonts(); // make sure fl_fonts is initialized -#endif } } -- cgit v1.2.3