]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dcps.cpp
added an error message if a bitmap can't be addedto the image list
[wxWidgets.git] / src / gtk1 / dcps.cpp
index 275e0d1b3532aba9c10b7ca70b5a8b27630149d4..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
 //-----------------------------------------------------------------------------
@@ -1662,3 +1669,5 @@ void wxPostScriptDC::GetSizeMM(long *width, long *height) const
     }
 }
 
+#endif
+  // wxUSE_POSTSCRIPT