X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af0bb3b161bc687d4a53a83c930c807bfa300a2d..15a2076a46ba2875038fca1ef561e097903abd7a:/include/wx/generic/dcpsg.h?ds=sidebyside diff --git a/include/wx/generic/dcpsg.h b/include/wx/generic/dcpsg.h index 5be42ac46b..fba5f2cb57 100644 --- a/include/wx/generic/dcpsg.h +++ b/include/wx/generic/dcpsg.h @@ -17,14 +17,14 @@ #include "wx/dc.h" +#if wxUSE_PRINTING_ARCHITECTURE + #if wxUSE_POSTSCRIPT #include "wx/dialog.h" #include "wx/module.h" #include "wx/cmndata.h" -#include - //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- @@ -125,8 +125,6 @@ public: inline void SetBackgroundMode(int WXUNUSED(mode)) {} inline void SetPalette(const wxPalette& WXUNUSED(palette)) {} - ofstream *GetStream(void) const { return m_pstream; } - wxPrintData& GetPrintData() { return m_printData; } void SetPrintData(const wxPrintData& data) { m_printData = data; } @@ -134,7 +132,7 @@ public: protected: - ofstream * m_pstream; // PostScript output stream + FILE* m_pstream; // PostScript output stream wxString m_title; unsigned char m_currentRed; unsigned char m_currentGreen; @@ -275,6 +273,9 @@ WXDLLEXPORT extern void wxInitializePrintSetupData(bool init = TRUE); #endif // wxUSE_POSTSCRIPT + +#endif + // wxUSE_PRINTING_ARCHITECTURE #endif // _WX_DCPSG_H_