X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e4ea166d76da40eaa5fdcf9e958d93521f72fba..85833f5c6c5c136d16ccd01c90cc243d5d025e0a:/include/wx/generic/dcpsg.h diff --git a/include/wx/generic/dcpsg.h b/include/wx/generic/dcpsg.h index a0d0c51cc6..5be42ac46b 100644 --- a/include/wx/generic/dcpsg.h +++ b/include/wx/generic/dcpsg.h @@ -22,8 +22,8 @@ #include "wx/dialog.h" #include "wx/module.h" #include "wx/cmndata.h" -#include +#include //----------------------------------------------------------------------------- // classes @@ -97,7 +97,7 @@ public: void SetClippingRegion(long x, long y, long width, long height); void SetClippingRegion( const wxRegion ®ion ); void DestroyClippingRegion(); - + void DoSetClippingRegionAsRegion( const wxRegion &WXUNUSED(clip) ) {} bool StartDoc(const wxString& message); @@ -125,12 +125,12 @@ public: inline void SetBackgroundMode(int WXUNUSED(mode)) {} inline void SetPalette(const wxPalette& WXUNUSED(palette)) {} - inline ofstream *GetStream(void) const { return m_pstream; } + ofstream *GetStream(void) const { return m_pstream; } - inline wxPrintData& GetPrintData() { return m_printData; } - inline void SetPrintData(const wxPrintData& data) { m_printData = data; } - - int GetDepth() const { return 24; } + wxPrintData& GetPrintData() { return m_printData; } + void SetPrintData(const wxPrintData& data) { m_printData = data; } + + virtual int GetDepth() const { return 24; } protected: @@ -170,13 +170,15 @@ public: #endif // Print Orientation (Should also add Left, Right) -enum { +enum +{ PS_PORTRAIT = 1, PS_LANDSCAPE = 2 };// ps_orientation = PS_PORTRAIT; // Print Actions -enum { +enum +{ PS_NONE, PS_PREVIEW, PS_FILE,