mirror of
https://github.com/fltk/fltk.git
synced 2026-06-07 00:55:23 +08:00
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:
@@ -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) {
|
||||
|
||||
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user