summaryrefslogtreecommitdiff
path: root/FL/Fl_Graphics_Driver.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-03-12 09:42:45 +0000
committerManolo Gouy <Manolo>2018-03-12 09:42:45 +0000
commit371cfd1476de37c4741b6455af77bfc9a07cd9c1 (patch)
tree06090ac860689ef16e46e6469f5f73aab47eb8e6 /FL/Fl_Graphics_Driver.H
parent88ce4aec17dbf37de19060f03e543e7bf26fc1af (diff)
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
Diffstat (limited to 'FL/Fl_Graphics_Driver.H')
-rw-r--r--FL/Fl_Graphics_Driver.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index 0c98afdad..b2c15272a 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -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() */