Minor change in Fl_System_Printer constructors: use the same graphics driver as the display.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2011-02-02 09:55:47 +00:00
parent 816fc3b971
commit 864918b6b2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ extern HWND fl_window;
Fl_System_Printer::Fl_System_Printer(void) : Fl_Paged_Device() {
hPr = NULL;
class_name(class_id);
driver(fl_graphics_driver);
driver(Fl_Display_Device::display_device()->driver());
}
Fl_System_Printer::~Fl_System_Printer(void) {
+1 -1
View File
@@ -42,7 +42,7 @@ Fl_System_Printer::Fl_System_Printer(void)
scale_x = scale_y = 1.;
class_name(class_id);
gc = 0;
driver(fl_graphics_driver);
driver(Fl_Display_Device::display_device()->driver());
}
Fl_System_Printer::~Fl_System_Printer(void) {}