summaryrefslogtreecommitdiff
path: root/FL/Fl_Paged_Device.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-10-22 13:16:14 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-10-22 13:16:14 +0200
commit4f8e692f30807aeea3284bfccc929823281ce899 (patch)
tree31801953837a3163b987210affe2c042df7a3acf /FL/Fl_Paged_Device.H
parent80f574046840a33e15da87dd18e7b576c67f222e (diff)
Add default value of 0 for 1st arg of member function Fl_Printer::begin_job().
Diffstat (limited to 'FL/Fl_Paged_Device.H')
-rw-r--r--FL/Fl_Paged_Device.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Paged_Device.H b/FL/Fl_Paged_Device.H
index cf2c1390c..db6fab3ce 100644
--- a/FL/Fl_Paged_Device.H
+++ b/FL/Fl_Paged_Device.H
@@ -103,10 +103,10 @@ public:
static const page_format page_formats[NO_PAGE_FORMATS];
/** \brief The destructor */
virtual ~Fl_Paged_Device() {};
- virtual int begin_job(int pagecount, int *frompage = NULL, int *topage = NULL);
+ virtual int begin_job(int pagecount = 0, int *frompage = NULL, int *topage = NULL);
/** Synonym of begin_job(int pagecount, int *frompage, int *topage).
For API compatibility with FLTK 1.3.x */
- int start_job(int pagecount, int *frompage = NULL, int *topage = NULL) {return begin_job(pagecount, frompage, topage);}
+ int start_job(int pagecount = 0, int *frompage = NULL, int *topage = NULL) {return begin_job(pagecount, frompage, topage);}
virtual int begin_page(void);
/** Synonym of begin_page().
For API compatibility with FLTK 1.3.x */