summaryrefslogtreecommitdiff
path: root/FL/Fl_Paged_Device.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-02-23 14:36:18 +0000
committerManolo Gouy <Manolo>2011-02-23 14:36:18 +0000
commitd8822aa74af1c886f7ef4df58e42f52af397042d (patch)
treefff5ed100610eb65d2740ab190a00a414d28ba91 /FL/Fl_Paged_Device.H
parent5a6da14af3884a55359bd148bcb79d62010c9f6b (diff)
Fl_Device: removed class_name(char *) member function and set class_name(void) virtual.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Paged_Device.H')
-rw-r--r--FL/Fl_Paged_Device.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/FL/Fl_Paged_Device.H b/FL/Fl_Paged_Device.H
index 5504b5192..bdc448925 100644
--- a/FL/Fl_Paged_Device.H
+++ b/FL/Fl_Paged_Device.H
@@ -115,11 +115,12 @@ protected:
/** \brief vertical offset to the origin of graphics coordinates */
int y_offset;
/** \brief The constructor */
- Fl_Paged_Device() : Fl_Surface_Device(NULL) {class_name( class_id);};
+ Fl_Paged_Device() : Fl_Surface_Device(NULL) {};
/** \brief The destructor */
virtual ~Fl_Paged_Device() {};
public:
static const char *class_id;
+ const char *class_name() {return class_id;};
virtual int start_job(int pagecount, int *frompage = NULL, int *topage = NULL);
virtual int start_page(void);
virtual int printable_rect(int *w, int *h);