X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b822969a677939811d9fb966177031fb5fc625b..fcc9c05e7a71901e282e39bf4ed7f1d2b4641889:/include/wx/graphics.h diff --git a/include/wx/graphics.h b/include/wx/graphics.h index 4ab38f42c7..2669061598 100644 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -21,7 +21,9 @@ class WXDLLIMPEXP_FWD_CORE wxWindowDC; class WXDLLIMPEXP_FWD_CORE wxMemoryDC; +#if wxUSE_PRINTING_ARCHITECTURE class WXDLLIMPEXP_FWD_CORE wxPrinterDC; +#endif class WXDLLIMPEXP_FWD_CORE wxGraphicsContext; class WXDLLIMPEXP_FWD_CORE wxGraphicsPath; class WXDLLIMPEXP_FWD_CORE wxGraphicsMatrix; @@ -278,7 +280,9 @@ public: static wxGraphicsContext* Create( const wxWindowDC& dc) ; static wxGraphicsContext * Create( const wxMemoryDC& dc) ; +#if wxUSE_PRINTING_ARCHITECTURE static wxGraphicsContext * Create( const wxPrinterDC& dc) ; +#endif static wxGraphicsContext* CreateFromNative( void * context ) ; @@ -545,8 +549,10 @@ public : virtual wxGraphicsContext * CreateContext( const wxWindowDC& dc) = 0 ; virtual wxGraphicsContext * CreateContext( const wxMemoryDC& dc) = 0 ; +#if wxUSE_PRINTING_ARCHITECTURE virtual wxGraphicsContext * CreateContext( const wxPrinterDC& dc) = 0 ; - +#endif + virtual wxGraphicsContext * CreateContextFromNativeContext( void * context ) = 0; virtual wxGraphicsContext * CreateContextFromNativeWindow( void * window ) = 0;