X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8371a35340baf588549273328cb2a1579a4dfe81..58ce18f2fdadecffb21e27555115af708325cf18:/include/wx/graphics.h?ds=sidebyside diff --git a/include/wx/graphics.h b/include/wx/graphics.h index b42c0ad1de..4a2b42c974 100644 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -57,8 +57,12 @@ class WXDLLIMPEXP_FWD_CORE wxWindowDC; class WXDLLIMPEXP_FWD_CORE wxMemoryDC; #if wxUSE_PRINTING_ARCHITECTURE class WXDLLIMPEXP_FWD_CORE wxPrinterDC; +#endif +#ifdef __WXMSW__ +#if wxUSE_ENH_METAFILE class WXDLLIMPEXP_FWD_CORE wxEnhMetaFileDC; #endif +#endif class WXDLLIMPEXP_FWD_CORE wxGraphicsContext; class WXDLLIMPEXP_FWD_CORE wxGraphicsPath; class WXDLLIMPEXP_FWD_CORE wxGraphicsMatrix; @@ -393,10 +397,12 @@ public: static wxGraphicsContext * Create( const wxMemoryDC& dc); #if wxUSE_PRINTING_ARCHITECTURE static wxGraphicsContext * Create( const wxPrinterDC& dc); +#endif #ifdef __WXMSW__ +#if wxUSE_ENH_METAFILE static wxGraphicsContext * Create( const wxEnhMetaFileDC& dc); #endif -#endif // wxUSE_PRINTING_ARCHITECTURE +#endif static wxGraphicsContext* CreateFromNative( void * context ); @@ -714,10 +720,12 @@ public: virtual wxGraphicsContext * CreateContext( const wxMemoryDC& dc) = 0; #if wxUSE_PRINTING_ARCHITECTURE virtual wxGraphicsContext * CreateContext( const wxPrinterDC& dc) = 0; +#endif #ifdef __WXMSW__ +#if wxUSE_ENH_METAFILE virtual wxGraphicsContext * CreateContext( const wxEnhMetaFileDC& dc) = 0; #endif -#endif // wxUSE_PRINTING_ARCHITECTURE +#endif virtual wxGraphicsContext * CreateContextFromNativeContext( void * context ) = 0;