]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dcprint.h
1. Moved m_usePrimary to wxClipboardBase as it's now also used by wxMSW/wxMac
[wxWidgets.git] / include / wx / mac / carbon / dcprint.h
index 2cfdd1a81401d615141be335017bc146f5d8ddc5..79f8d3b2f750a8356ded45ca66977f9b2e033a22 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dcprint.h
+// Name:        wx/mac/carbon/dcprint.h
 // Purpose:     wxPrinterDC class
 // Author:      Stefan Csomor
 // Modified by:
@@ -25,17 +25,17 @@ class WXDLLEXPORT wxPrinterDC: public wxDC
 
   // Create a printer DC
   wxPrinterDC(const wxPrintData& printdata );
-  ~wxPrinterDC();
+  virtual ~wxPrinterDC();
 
     virtual bool StartDoc( const wxString& WXUNUSED(message) ) ;
     virtual void EndDoc(void) ;
     virtual void StartPage(void) ;
     virtual void EndPage(void) ;
+
+    wxRect GetPaperRect();
+
     wxPrintData& GetPrintData() { return m_printData; }
     virtual wxSize GetPPI() const;
-#if wxMAC_USE_CORE_GRAPHICS
-    void MacSetCGContext( void * cg ) ;
-#endif    
  protected:
     virtual void DoGetSize( int *width, int *height ) const;
     wxPrintData   m_printData ;