Skip to content

Commit

Permalink
Fl_GDI_Printer.cxx: change in Fl_printer::start_job() to allow printa…
Browse files Browse the repository at this point in the history
…ble_rect() call before start_page()

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7382 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Mar 31, 2010
1 parent 62bf691 commit d3b7c8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Fl_GDI_Printer.cxx
Expand Up @@ -104,6 +104,8 @@ int Fl_Printer::start_job (int pagecount, int *frompage, int *topage)
}
x_offset = 0;
y_offset = 0;
WIN_SetupPrinterDeviceContext (hPr);
gc = (void *)fl_gc;
this->set_current();
}
return err;
Expand Down

0 comments on commit d3b7c8b

Please sign in to comment.