]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/carbon/private/print.h
reset m_selection in DeleteAllPages() (patch 1922215); some cleanup of DoRemovePage...
[wxWidgets.git] / include / wx / mac / carbon / private / print.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/mac/carbon/private/print.h
3 // Purpose: private implementation for printing on MacOS
4 // Author: Stefan Csomor
5 // Modified by:
6 // Created: 03/02/99
7 // RCS-ID: $Id$
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_MAC_PRIVATE_PRINT_H_
13 #define _WX_MAC_PRIVATE_PRINT_H_
14
15 #include "wx/cmndata.h"
16 #include "wx/print.h"
17 #include "wx/mac/private.h"
18
19 class WXDLLIMPEXP_CORE wxMacCarbonPrintData : public wxPrintNativeDataBase
20 {
21 public :
22 wxMacCarbonPrintData() ;
23 virtual ~wxMacCarbonPrintData() ;
24
25 virtual bool TransferTo( wxPrintData &data );
26 virtual bool TransferFrom( const wxPrintData &data );
27
28 virtual bool IsOk() const ;
29
30 virtual void TransferFrom( wxPageSetupDialogData * ) ;
31 virtual void TransferTo( wxPageSetupDialogData * ) ;
32
33 virtual void TransferFrom( wxPrintDialogData * ) ;
34 virtual void TransferTo( wxPrintDialogData * ) ;
35 private :
36 virtual void ValidateOrCreate() ;
37 public :
38 PMPrintSession m_macPrintSession ;
39 PMPageFormat m_macPageFormat ;
40 PMPrintSettings m_macPrintSettings ;
41 private:
42 DECLARE_DYNAMIC_CLASS(wxMacCarbonPrintData)
43 } ;
44
45 #endif // _WX_MAC_PRIVATE_PRINT_H_