X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53bc386387a1f81de52b241fdac259d74a2b5c1b..e9a0cc4b727ed06da1a776a1b6c4ba66ed4bde3c:/include/wx/mac/carbon/dcclient.h diff --git a/include/wx/mac/carbon/dcclient.h b/include/wx/mac/carbon/dcclient.h index def0ad4cc3..4fc84defdd 100644 --- a/include/wx/mac/carbon/dcclient.h +++ b/include/wx/mac/carbon/dcclient.h @@ -36,6 +36,11 @@ class WXDLLEXPORT wxWindowDC: public wxDC protected : virtual void DoGetSize( int *width, int *height ) const; wxWindow *m_window; +#if wxMAC_USE_CORE_GRAPHICS + bool m_release; + int m_width; + int m_height; +#endif }; @@ -52,7 +57,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 +75,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