X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/463c1fa1a916b1a262023601f3913fb12c4bcc8f..06cfab17389f4bbd38560dd86ee39931e979bb1e:/include/wx/postscrp.h diff --git a/include/wx/postscrp.h b/include/wx/postscrp.h index 5b6271775f..f0c1e5e0dc 100644 --- a/include/wx/postscrp.h +++ b/include/wx/postscrp.h @@ -43,6 +43,14 @@ public: # endif #endif +#ifdef __WXGTK__ + +// wxGTK has its own wxPostscriptDC + +#include "wx/gtk/dcps.h" + +#else + class WXDLLEXPORT wxPostScriptDC: public wxDC { DECLARE_DYNAMIC_CLASS(wxPostScriptDC) @@ -150,6 +158,9 @@ protected: double m_scaleFactor; }; +#endif + // __WXGTK__ + #define wxID_PRINTER_COMMAND 1 #define wxID_PRINTER_OPTIONS 2 #define wxID_PRINTER_ORIENTATION 3 @@ -308,6 +319,10 @@ private: WXDLLEXPORT_DATA(extern wxPrintPaperDatabase*) wxThePrintPaperDatabase; -#endif // wxUSE_POSTSCRIPT +#endif + // wxUSE_POSTSCRIPT + #endif // _WX_POSTSCRPH__ + +