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:
parent
8a5b9f0807
commit
1da7f7a5be
@ -19,6 +19,8 @@
|
||||
#include "wx/dc.h"
|
||||
#include "wx/cmndata.h"
|
||||
|
||||
class wxNativePrinterDC ;
|
||||
|
||||
class WXDLLEXPORT wxPrinterDC: public wxDC
|
||||
{
|
||||
public:
|
||||
@ -33,9 +35,12 @@ class WXDLLEXPORT wxPrinterDC: public wxDC
|
||||
virtual void EndDoc(void) ;
|
||||
virtual void StartPage(void) ;
|
||||
virtual void EndPage(void) ;
|
||||
wxPrintData& GetPrintData() { return m_printData; }
|
||||
virtual void DoGetSize( int *width, int *height ) const;
|
||||
|
||||
protected:
|
||||
void* m_macPrintSessionPort ;
|
||||
wxPrintData m_printData ;
|
||||
wxNativePrinterDC* m_nativePrinterDC ;
|
||||
#endif // wxUSE_PRINTING_ARCHITECTURE
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user