From f33b45f1d30653fb5da4817089e38ff0a2413cfb Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 18 Feb 2016 16:21:51 +0000 Subject: Remove all uses of the fl_gc global variable. Towards a clean driver model. fl_gc remains usable by the application as a hook into the system. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11189 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Device.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FL/Fl_Device.H') diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index cff6e228e..69b7f5d03 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -45,7 +45,8 @@ public: static const char *class_id; /** Returns the name of the class of this object. - Use of the class_name() function is discouraged because it will be removed from future FLTK versions. + The class_name() function is deprecated. + The preferred procedure is to use the Fl_Graphics_Driver::has_feature() member function. The class of an instance of an Fl_Device subclass can be checked with code such as: \code -- cgit v1.2.3