summaryrefslogtreecommitdiff
path: root/FL/Fl_Device.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-04-28 22:02:48 +0000
committerManolo Gouy <Manolo>2015-04-28 22:02:48 +0000
commitf9fa74e3af0b53102ade659a7a2aa12ddf9ee9a3 (patch)
tree01b108a2daa98f5caa6dc3aa15c9067b95ae76fd /FL/Fl_Device.H
parent1c7daeca631f6bbf88b99f9ecd79a5cedd64f550 (diff)
Restored the possibility to call Fl::set_font()
in a global initializer (before main() starts). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Device.H')
-rw-r--r--FL/Fl_Device.H4
1 files changed, 1 insertions, 3 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H
index caece3b7c..3162255b9 100644
--- a/FL/Fl_Device.H
+++ b/FL/Fl_Device.H
@@ -585,10 +585,8 @@ class FL_EXPORT Fl_Display_Device : public Fl_Surface_Device {
public:
static const char *class_id;
const char *class_name() {return class_id;};
- /** \brief A constructor that sets the graphics driver used by the display */
Fl_Display_Device(Fl_Graphics_Driver *graphics_driver);
- /** Returns the platform display device. */
- static inline Fl_Display_Device *display_device() {return _display;};
+ static Fl_Display_Device *display_device();
#ifdef __APPLE__
static bool high_resolution() {return high_res_window_;}
#endif