X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe8f794343fc22d3da1e6f003fdd754d2bdf9339..8155488b3143e972da919de992c7bba2e29d63a1:/include/wx/cocoa/dc.h diff --git a/include/wx/cocoa/dc.h b/include/wx/cocoa/dc.h index dd4b3fdbe5..f1bc6b4592 100644 --- a/include/wx/cocoa/dc.h +++ b/include/wx/cocoa/dc.h @@ -46,7 +46,7 @@ protected: bool CocoaUnwindStackAndTakeFocus(); inline bool CocoaTakeFocus() { - wxCocoaDCStack::Node *node = sm_cocoaDCStack.GetFirst(); + wxCocoaDCStack::compatibility_iterator node = sm_cocoaDCStack.GetFirst(); if(node && (node->GetData() == this)) return true; return CocoaUnwindStackAndTakeFocus(); @@ -56,6 +56,10 @@ protected: void CocoaApplyTransformations(); float m_cocoaHeight; bool m_cocoaFlipped; +// Blitting + virtual bool CocoaDoBlitOnFocusedDC(wxCoord xdest, wxCoord ydest, + wxCoord width, wxCoord height, wxCoord xsrc, wxCoord ysrc, + int logicalFunc, bool useMask, wxCoord xsrcMask, wxCoord ysrcMask); //------------------------------------------------------------------------- // Implementation //-------------------------------------------------------------------------