X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed880dd448d6904a9749eb4653d2ba2fe3350b44..3013b6f46099b8cf0d2f9f656e883e4606ca833d:/include/wx/postscrp.h diff --git a/include/wx/postscrp.h b/include/wx/postscrp.h index 7bfa8a8312..f0c1e5e0dc 100644 --- a/include/wx/postscrp.h +++ b/include/wx/postscrp.h @@ -9,12 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __WXGTK__ - -#include "wx/gtk/dcps.h" - -#else - #ifndef _WX_POSTSCRPH__ #define _WX_POSTSCRPH__ @@ -49,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) @@ -156,6 +158,9 @@ protected: double m_scaleFactor; }; +#endif + // __WXGTK__ + #define wxID_PRINTER_COMMAND 1 #define wxID_PRINTER_OPTIONS 2 #define wxID_PRINTER_ORIENTATION 3 @@ -320,7 +325,4 @@ WXDLLEXPORT_DATA(extern wxPrintPaperDatabase*) wxThePrintPaperDatabase; #endif // _WX_POSTSCRPH__ -#endif - // __WXGTK__ -