From 864918b6b2d65284e954c5ff9786c2f465e10923 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 2 Feb 2011 09:55:47 +0000 Subject: 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 --- src/Fl_GDI_Printer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_GDI_Printer.cxx') diff --git a/src/Fl_GDI_Printer.cxx b/src/Fl_GDI_Printer.cxx index 9bd64f0c9..7e148e2bd 100644 --- a/src/Fl_GDI_Printer.cxx +++ b/src/Fl_GDI_Printer.cxx @@ -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) { -- cgit v1.2.3