Author: manolo
Date: 2012-03-04 10:24:38 -0800 (Sun, 04 Mar 2012)
New Revision: 9263
Log:
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
Modified:
branches/branch-1.3/FL/Fl_Paged_Device.H
Modified: branches/branch-1.3/FL/Fl_Paged_Device.H
===================================================================
--- branches/branch-1.3/FL/Fl_Paged_Device.H 2012-03-04 18:18:03 UTC (rev
9262)
+++ branches/branch-1.3/FL/Fl_Paged_Device.H 2012-03-04 18:24:38 UTC (rev
9263)
@@ -107,9 +107,15 @@
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);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit