mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 16:12:13 +08:00
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
This commit is contained in:
@@ -107,9 +107,15 @@ protected:
|
|||||||
int y_offset;
|
int y_offset;
|
||||||
/** \brief The constructor */
|
/** \brief The constructor */
|
||||||
Fl_Paged_Device() : Fl_Surface_Device(NULL) {};
|
Fl_Paged_Device() : Fl_Surface_Device(NULL) {};
|
||||||
|
#if FLTK_ABI_VERSION >= 10302
|
||||||
|
public:
|
||||||
|
/** \brief The destructor */
|
||||||
|
virtual ~Fl_Paged_Device() {};
|
||||||
|
#else
|
||||||
/** \brief The destructor */
|
/** \brief The destructor */
|
||||||
virtual ~Fl_Paged_Device() {};
|
virtual ~Fl_Paged_Device() {};
|
||||||
public:
|
public:
|
||||||
|
#endif // FLTK_ABI_VERSION
|
||||||
static const char *class_id;
|
static const char *class_id;
|
||||||
const char *class_name() {return class_id;};
|
const char *class_name() {return class_id;};
|
||||||
virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL);
|
virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user