X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52479aefae169d5c85cd0e07d159db0b8dd0a965..7b4a652a8bf3da1b2dd20dd22c9e6db5dd03db59:/include/wx/mac/carbon/private/print.h diff --git a/include/wx/mac/carbon/private/print.h b/include/wx/mac/carbon/private/print.h index d406494902..cf46612db9 100644 --- a/include/wx/mac/carbon/private/print.h +++ b/include/wx/mac/carbon/private/print.h @@ -23,11 +23,9 @@ # include "Printing.h" #endif -#if TARGET_CARBON #if !PM_USE_SESSION_APIS #error "only Carbon Printing Session API is supported" #endif -#endif class wxNativePrintData { @@ -52,8 +50,6 @@ public : static wxNativePrintData* Create() ; } ; -#if TARGET_CARBON - class wxMacCarbonPrintData : public wxNativePrintData { public : @@ -80,28 +76,4 @@ public : PMPrintSettings m_macPrintSettings ; } ; -#else - -class wxMacClassicPrintData : public wxNativePrintData -{ -public : - wxMacClassicPrintData() ; - ~wxMacClassicPrintData() ; - virtual void TransferFrom( wxPrintData * ) ; - virtual void TransferTo( wxPrintData * ) ; - virtual void TransferFrom( wxPageSetupDialogData * ) ; - virtual void TransferTo( wxPageSetupDialogData * ) ; - virtual void TransferFrom( wxPrintDialogData * ) ; - virtual void TransferTo( wxPrintDialogData * ) ; - virtual void CopyFrom( wxNativePrintData * ) ; - virtual int ShowPrintDialog() ; - virtual int ShowPageSetupDialog() ; -private : - virtual void ValidateOrCreate() ; -public : - THPrint m_macPrintSettings ; -} ; - -#endif - #endif