]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dcps.cpp
Changes to allow Cygwin to compile in non-PCH mode
[wxWidgets.git] / src / gtk1 / dcps.cpp
index 6812fe95b4f4896e14ec568369c9d8e99c897af9..710668c98a5c989b4ca5d0569e7617c83a0d39b8 100644 (file)
 #pragma interface
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_POSTSCRIPT
+
 #include "wx/postscrp.h"
 #include "wx/dcmemory.h"
 #include "wx/utils.h"
@@ -24,6 +28,9 @@
 #include "wx/image.h"
 #include "wx/log.h"
 
+#include "gdk/gdk.h"
+#include "gtk/gtk.h"
+
 //-----------------------------------------------------------------------------
 // start and end of document/page
 //-----------------------------------------------------------------------------
@@ -1349,11 +1356,16 @@ void wxPostScriptDC::EndPage ()
     *m_pstream << "showpage\n";
 }
 
-bool wxPostScriptDC::Blit (long xdest, long ydest, long fwidth, long fheight,
-      wxDC *source, long xsrc, long ysrc, int WXUNUSED(rop), bool WXUNUSED(useMask))
+bool wxPostScriptDC::Blit( long WXUNUSED(xdest), long WXUNUSED(ydest), 
+                           long WXUNUSED(fwidth), long WXUNUSED(fheight),
+                           wxDC *WXUNUSED(source), 
+                          long WXUNUSED(xsrc), long WXUNUSED(ysrc), 
+                          int WXUNUSED(rop), bool WXUNUSED(useMask) )
 {
     wxCHECK_MSG( m_ok && m_pstream, FALSE, "invalid postscript dc" );
     
+    wxFAIL_MSG( "wxPostScriptDC::Blit no yet implemented." );
+    
     return TRUE;
 }
 
@@ -1657,3 +1669,5 @@ void wxPostScriptDC::GetSizeMM(long *width, long *height) const
     }
 }
 
+#endif
+  // wxUSE_POSTSCRIPT