switch to pImpl pattern for mac printing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2003-05-19 18:27:10 +00:00
parent 8a5b9f0807
commit 1da7f7a5be

View File

@ -19,6 +19,8 @@
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/cmndata.h" #include "wx/cmndata.h"
class wxNativePrinterDC ;
class WXDLLEXPORT wxPrinterDC: public wxDC class WXDLLEXPORT wxPrinterDC: public wxDC
{ {
public: public:
@ -33,9 +35,12 @@ class WXDLLEXPORT wxPrinterDC: public wxDC
virtual void EndDoc(void) ; virtual void EndDoc(void) ;
virtual void StartPage(void) ; virtual void StartPage(void) ;
virtual void EndPage(void) ; virtual void EndPage(void) ;
wxPrintData& GetPrintData() { return m_printData; }
virtual void DoGetSize( int *width, int *height ) const;
protected: protected:
void* m_macPrintSessionPort ;
wxPrintData m_printData ; wxPrintData m_printData ;
wxNativePrinterDC* m_nativePrinterDC ;
#endif // wxUSE_PRINTING_ARCHITECTURE #endif // wxUSE_PRINTING_ARCHITECTURE
}; };