X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..a9c95884805a56442482036cd204e56c47a03d2c:/include/wx/mac/carbon/dcclient.h?ds=inline diff --git a/include/wx/mac/carbon/dcclient.h b/include/wx/mac/carbon/dcclient.h index a62be04d31..b743ea7918 100644 --- a/include/wx/mac/carbon/dcclient.h +++ b/include/wx/mac/carbon/dcclient.h @@ -32,9 +32,16 @@ class WXDLLEXPORT wxWindowDC: public wxDC wxWindowDC(wxWindow *win); virtual ~wxWindowDC(void); + 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 }; @@ -51,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 @@ -67,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