X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53bc386387a1f81de52b241fdac259d74a2b5c1b..2c17722ec8a15d93ef9ec4a4ff390a0db9a34d9d:/include/wx/mac/carbon/dcclient.h diff --git a/include/wx/mac/carbon/dcclient.h b/include/wx/mac/carbon/dcclient.h index def0ad4cc3..b743ea7918 100644 --- a/include/wx/mac/carbon/dcclient.h +++ b/include/wx/mac/carbon/dcclient.h @@ -35,7 +35,13 @@ class WXDLLEXPORT wxWindowDC: public wxDC wxWindow *GetWindow() const { return m_window; } protected : virtual void DoGetSize( int *width, int *height ) const; + virtual wxBitmap DoGetAsBitmap(const wxRect *subrect) const; wxWindow *m_window; +#if wxMAC_USE_CORE_GRAPHICS + bool m_release; + int m_width; + int m_height; +#endif }; @@ -52,7 +58,9 @@ class WXDLLEXPORT wxClientDC: public wxWindowDC virtual ~wxClientDC(void); protected: +#if !wxMAC_USE_CORE_GRAPHICS virtual void DoGetSize( int *width, int *height ) const; +#endif }; class WXDLLEXPORT wxPaintDC: public wxWindowDC @@ -68,7 +76,9 @@ class WXDLLEXPORT wxPaintDC: public wxWindowDC virtual ~wxPaintDC(void); protected: +#if !wxMAC_USE_CORE_GRAPHICS virtual void DoGetSize( int *width, int *height ) const; +#endif }; #endif