diff options
| author | Manolo Gouy <Manolo> | 2018-05-09 14:16:35 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-05-09 14:16:35 +0000 |
| commit | 2b7aac129b05638ffd21be5c037192e797d6d074 (patch) | |
| tree | dd00e6cb7d95bbc0d5c78cb05cd0ec13fc819bce /src/Fl_cocoa.mm | |
| parent | 80818999345212384326ec833d090988c633eb49 (diff) | |
Rename Fl_Paged_Device::start_job() to begin_job() and Fl_Paged_Device::start_page() to begin_page().
The new function names begin_job() and begin_page() better match end_job() and end_page() with which
they must be used by pair.
The old names start_job() and start_page() are maintained for API compatibility with FLTK 1.3.x
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12910 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_cocoa.mm')
| -rw-r--r-- | src/Fl_cocoa.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index cb9945eb0..6309d1d27 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -3809,8 +3809,8 @@ int Fl_Cocoa_Window_Driver::set_cursor(const Fl_RGB_Image *image, int hotx, int Fl_Window *win = Fl::first_window(); if(!win) return; if (win->parent()) win = win->top_window(); - if( printer.start_job(1) ) return; - if( printer.start_page() ) return; + if( printer.begin_job(1) ) return; + if( printer.begin_page() ) return; fl_lock_function(); // scale the printer device so that the window fits on the page float scale = 1; |
