Make Fl_Graphics_Driver constructor protected, as it was in FLTK 1.3.x

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2018-03-12 09:42:45 +00:00
parent 88ce4aec17
commit 371cfd1476

View File

@ -221,8 +221,8 @@ protected:
return pm->prepare(XP,YP,WP,HP,cx,cy,X,Y,W,H);
}
public:
Fl_Graphics_Driver();
public:
virtual ~Fl_Graphics_Driver() {} ///< Destructor
static Fl_Graphics_Driver &default_driver();
/** Current scale factor between FLTK and drawing units: drawing = FLTK * scale() */