summaryrefslogtreecommitdiff
path: root/src/Fl_Printer.cxx
diff options
context:
space:
mode:
authorAaron M. Ucko <ucko@debian.org>2010-12-23 16:04:59 -0500
committerAaron M. Ucko <ucko@debian.org>2010-12-23 16:04:59 -0500
commitffe1cb962b03f02b4ef54f0eeb6cab89d4be2e63 (patch)
tree4d30f3f15fc853564ac66bd32f2fc4e33bf0dadb /src/Fl_Printer.cxx
parentbca4cadccd3dc3f056235ecb8d264abd5a3123ab (diff)
Imported Upstream version 1.3~r8048
Diffstat (limited to 'src/Fl_Printer.cxx')
-rw-r--r--src/Fl_Printer.cxx14
1 files changed, 8 insertions, 6 deletions
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 <FL/Fl_Printer.H>
#ifdef __APPLE__
-#include <src/Fl_Quartz_Printer.mm>
+#include "Fl_Quartz_Printer.mm"
#elif defined(WIN32)
-#include <src/Fl_GDI_Printer.cxx>
+#include "Fl_GDI_Printer.cxx"
#endif
-#include <src/Fl_PostScript.cxx>
+#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 $".
//