X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..115563867dac8edf57b6d2c6ae95910c7f277d77:/include/wx/mac/carbon/dcclient.h diff --git a/include/wx/mac/carbon/dcclient.h b/include/wx/mac/carbon/dcclient.h index a62be04d31..448d6b4322 100644 --- a/include/wx/mac/carbon/dcclient.h +++ b/include/wx/mac/carbon/dcclient.h @@ -18,8 +18,8 @@ // classes //----------------------------------------------------------------------------- -class WXDLLEXPORT wxPaintDC; -class WXDLLEXPORT wxWindow; +class WXDLLIMPEXP_FWD_CORE wxPaintDC; +class WXDLLIMPEXP_FWD_CORE wxWindow; class WXDLLEXPORT wxWindowDC: public wxDC { @@ -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; + + bool m_release; + int m_width; + int m_height; + }; @@ -51,7 +58,6 @@ class WXDLLEXPORT wxClientDC: public wxWindowDC virtual ~wxClientDC(void); protected: - virtual void DoGetSize( int *width, int *height ) const; }; class WXDLLEXPORT wxPaintDC: public wxWindowDC @@ -67,7 +73,6 @@ class WXDLLEXPORT wxPaintDC: public wxWindowDC virtual ~wxPaintDC(void); protected: - virtual void DoGetSize( int *width, int *height ) const; }; #endif