]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/dcprint.h
added wx_truncate_cast and use it (sometimes instead of wx_static_cast) to explicitel...
[wxWidgets.git] / include / wx / mac / carbon / dcprint.h
index 0e2b5bcf0d32e75e115498bd0ef57bb498b632a2..2165191bfdc6debfe8eb44c9561483e46e9f0c1f 100644 (file)
@@ -24,9 +24,9 @@ class wxNativePrinterDC ;
 class WXDLLEXPORT wxPrinterDC: public wxDC
 {
  public:
+#if wxUSE_PRINTING_ARCHITECTURE
   DECLARE_CLASS(wxPrinterDC)
 
-#if wxUSE_PRINTING_ARCHITECTURE
   // Create a printer DC
   wxPrinterDC(const wxPrintData& printdata );
   ~wxPrinterDC();
@@ -37,7 +37,9 @@ class WXDLLEXPORT wxPrinterDC: public wxDC
     virtual void EndPage(void) ;
     wxPrintData& GetPrintData() { return m_printData; }
     virtual void DoGetSize( int *width, int *height ) const;
-    
+#if wxMAC_USE_CORE_GRAPHICS
+    void MacSetCGContext( void * cg ) ;
+#endif    
  protected:
     wxPrintData   m_printData ;
     wxNativePrinterDC* m_nativePrinterDC ;