summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2014-09-08 16:03:52 +0000
committerManolo Gouy <Manolo>2014-09-08 16:03:52 +0000
commit11f55e80b38d7d8ce010486304b5106915907383 (patch)
tree3e47eb87cba25bf43608b4d5b34290bfe4bc59ba /src
parentc7f0ee3bd0f7d2fe657f4fa7e04f420b877a6542 (diff)
Put Fl_PostScript.cxx in list of files compiled in libfltk rather than including it in Fl_Printer.cxx.
VisualC project files still need to be changed accordingly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/Fl_PostScript.cxx1
-rw-r--r--src/Fl_Printer.cxx6
-rw-r--r--src/Makefile1
4 files changed, 4 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4b8983d46..f50cda627 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -46,6 +46,7 @@ set(CPPFILES
Fl_Paged_Device.cxx
Fl_Pixmap.cxx
Fl_Positioner.cxx
+ Fl_PostScript.cxx
Fl_Printer.cxx
Fl_Preferences.cxx
Fl_Progress.cxx
diff --git a/src/Fl_PostScript.cxx b/src/Fl_PostScript.cxx
index 2bcde7a7a..9e20b4fac 100644
--- a/src/Fl_PostScript.cxx
+++ b/src/Fl_PostScript.cxx
@@ -16,6 +16,7 @@
// http://www.fltk.org/str.php
//
+#include <FL/Fl_Printer.H>
#include <config.h>
#include <FL/Fl.H>
#include <FL/fl_ask.H>
diff --git a/src/Fl_Printer.cxx b/src/Fl_Printer.cxx
index d89d50f0b..9e419d844 100644
--- a/src/Fl_Printer.cxx
+++ b/src/Fl_Printer.cxx
@@ -19,14 +19,10 @@
#include <FL/Fl_Printer.H>
-#ifdef __APPLE__
-//#include "Fl_Quartz_Printer.mm"
-#elif defined(WIN32)
+#if defined(WIN32)
#include "Fl_GDI_Printer.cxx"
#endif
-#include "Fl_PostScript.cxx"
-
// print dialog customization strings
/** [this text may be customized at run-time] */
const char *Fl_Printer::dialog_title = "Print";
diff --git a/src/Makefile b/src/Makefile
index 1376c3595..fb7caf191 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -61,6 +61,7 @@ CPPFILES = \
Fl_Pack.cxx \
Fl_Paged_Device.cxx \
Fl_Pixmap.cxx \
+ Fl_PostScript.cxx \
Fl_Positioner.cxx \
Fl_Preferences.cxx \
Fl_Printer.cxx \