From ffe1cb962b03f02b4ef54f0eeb6cab89d4be2e63 Mon Sep 17 00:00:00 2001 From: "Aaron M. Ucko" Date: Thu, 23 Dec 2010 16:04:59 -0500 Subject: Imported Upstream version 1.3~r8048 --- src/Fl_Printer.cxx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/Fl_Printer.cxx') diff --git a/src/Fl_Printer.cxx b/src/Fl_Printer.cxx index e4f2e84..3e8fd0b 100644 --- a/src/Fl_Printer.cxx +++ b/src/Fl_Printer.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Printer.cxx 7617 2010-05-27 17:20:18Z manolo $" +// "$Id: Fl_Printer.cxx 7919 2010-11-30 10:34:43Z AlbrechtS $" // // Encompasses platform-specific printing-support code and // PostScript output code for the Fast Light Tool Kit (FLTK). @@ -29,12 +29,12 @@ #include #ifdef __APPLE__ -#include +#include "Fl_Quartz_Printer.mm" #elif defined(WIN32) -#include +#include "Fl_GDI_Printer.cxx" #endif -#include +#include "Fl_PostScript.cxx" // print dialog customization strings /** [this text may be customized at run-time] */ @@ -78,7 +78,8 @@ const char *Fl_Printer::property_cancel = "Cancel"; const char *Fl_Printer::device_type = "Fl_Printer"; -void Fl_Printer::set_current() +#if defined(__APPLE__) || defined(WIN32) +void Fl_System_Printer::set_current(void) { #ifdef __APPLE__ fl_gc = (CGContextRef)gc; @@ -87,7 +88,8 @@ void Fl_Printer::set_current() #endif this->Fl_Surface_Device::set_current(); } +#endif // -// End of "$Id: Fl_Printer.cxx 7617 2010-05-27 17:20:18Z manolo $". +// End of "$Id: Fl_Printer.cxx 7919 2010-11-30 10:34:43Z AlbrechtS $". // -- cgit v1.2.3