]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dcprint.h
1. Derive wxMessageDialogBase from wxDialog (why did we use multiple
[wxWidgets.git] / include / wx / mac / carbon / dcprint.h
index 2a5da88252d88ccfffc88a32b2b8c628037e6cb2..79f8d3b2f750a8356ded45ca66977f9b2e033a22 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        dcprint.h
+// Name:        wx/mac/carbon/dcprint.h
 // Purpose:     wxPrinterDC class
 // Author:      Stefan Csomor
 // Modified by:
@@ -31,11 +31,11 @@ class WXDLLEXPORT wxPrinterDC: public wxDC
     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 ;