X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4db3c8ac631546f9b695e7590eaa4cb2805a1145..8d3223cb32a60bc7fe1d5ab62d682eaa565a50da:/include/wx/cocoa/dc.h?ds=sidebyside diff --git a/include/wx/cocoa/dc.h b/include/wx/cocoa/dc.h index ed39d574e9..d04424ba90 100644 --- a/include/wx/cocoa/dc.h +++ b/include/wx/cocoa/dc.h @@ -29,7 +29,7 @@ class WXDLLEXPORT wxDC: public wxDCBase //------------------------------------------------------------------------- public: wxDC(); - ~wxDC(); + virtual ~wxDC(); //------------------------------------------------------------------------- // wxCocoa specifics @@ -58,7 +58,12 @@ protected: void CocoaUnwindStackAndLoseFocus(); // DC flipping/transformation void CocoaApplyTransformations(); + void CocoaUnapplyTransformations(); WX_NSAffineTransform m_cocoaWxToBoundsTransform; +// Get bounds rect (for Clear()) + // note: we use void * to mean NSRect * so that we can avoid + // putting NSRect in the headers. + virtual bool CocoaGetBounds(void *rectData); // Blitting virtual bool CocoaDoBlitOnFocusedDC(wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord height, wxCoord xsrc, wxCoord ysrc,