From 7f17b915db467ed1b49ce1b4a0bb7f36dc5cba85 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 25 Feb 2016 17:56:48 +0000 Subject: Remove the useless pseudo run-time type information supported by the Fl_Device class. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Graphics_Driver.H | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'FL/Fl_Graphics_Driver.H') diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index da12bf8a4..4f42af878 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -1,7 +1,7 @@ // // "$Id$" // -// Definition of classes Fl_Device, Fl_Graphics_Driver, Fl_Surface_Device, Fl_Display_Device +// Definition of classes Fl_Graphics_Driver, Fl_Surface_Device, Fl_Display_Device // for the Fast Light Tool Kit (FLTK). // // Copyright 2010-2016 by Bill Spitzak and others. @@ -83,7 +83,7 @@ typedef short COORD_T; class. This new class should implement all virtual methods of the Fl_Graphics_Driver class to support all FLTK drawing functions. */ -class FL_EXPORT Fl_Graphics_Driver : public Fl_Device { +class FL_EXPORT Fl_Graphics_Driver { friend class Fl_Surface_Device; friend class Fl_Pixmap; friend class Fl_Bitmap; @@ -133,8 +133,6 @@ protected: // === all code below in this class has been to the reorganisation FL_PORTING process public: - static const char *class_id; - virtual const char *class_name() {return class_id;}; Fl_Graphics_Driver(); virtual ~Fl_Graphics_Driver() { if (p) free(p); } virtual char can_do_alpha_blending() { return 0; } -- cgit v1.2.3