diff options
| author | Manolo Gouy <Manolo> | 2012-03-04 18:24:38 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2012-03-04 18:24:38 +0000 |
| commit | 4e3f9e2ab3cbaa47d433e70c1768bdf3986624ff (patch) | |
| tree | 6f35889265d30e3a984e3eeaeec122309393f836 | |
| parent | 5237b2bc765b3408c9b44bac616d5bbf1fe8d323 (diff) | |
The Fl_Paged_Device destructor is made public instead of protected to ease the use of custom
Fl_Paged_Device subclasses at the application level.
This is protected by #if FLTK_ABI_VERSION >= 10302
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/Fl_Paged_Device.H | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/FL/Fl_Paged_Device.H b/FL/Fl_Paged_Device.H index ef73d0d1b..b2e9169a7 100644 --- a/FL/Fl_Paged_Device.H +++ b/FL/Fl_Paged_Device.H @@ -107,9 +107,15 @@ protected: int y_offset; /** \brief The constructor */ Fl_Paged_Device() : Fl_Surface_Device(NULL) {}; +#if FLTK_ABI_VERSION >= 10302 +public: + /** \brief The destructor */ + virtual ~Fl_Paged_Device() {}; +#else /** \brief The destructor */ virtual ~Fl_Paged_Device() {}; public: +#endif // FLTK_ABI_VERSION static const char *class_id; const char *class_name() {return class_id;}; virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL); |
