-#if TARGET_CARBON && !defined(__DARWIN__)
-# include <PMApplication.h>
-#endif
-
-#ifndef __DARWIN__
-# include "Printing.h"
-#endif
-
-#if !PM_USE_SESSION_APIS
-#error "only Carbon Printing Session API is supported"
-#endif
-
-class wxNativePrintData
-{
-public :
- wxNativePrintData() {}
- virtual ~wxNativePrintData() {}
-
- virtual void TransferFrom( wxPrintData * ) = 0 ;
- virtual void TransferTo( wxPrintData * ) = 0 ;
-
- virtual void TransferFrom( wxPageSetupDialogData * ) = 0 ;
- virtual void TransferTo( wxPageSetupDialogData * ) = 0 ;
-
- virtual void TransferFrom( wxPrintDialogData * ) = 0 ;
- virtual void TransferTo( wxPrintDialogData * ) = 0 ;
-
- virtual void CopyFrom( wxNativePrintData * ) = 0;
-
- virtual int ShowPrintDialog() = 0 ;
- virtual int ShowPageSetupDialog() = 0 ;
-
- static wxNativePrintData* Create() ;
-} ;
-
-class wxMacCarbonPrintData : public wxNativePrintData