X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c23fe91e3f08d129d4acd12aca6d6bad8b7c74c..2af18715e52d1900a3a0d0fd36ff80cab84932c1:/include/wx/cocoa/dc.h?ds=sidebyside diff --git a/include/wx/cocoa/dc.h b/include/wx/cocoa/dc.h index f7f46012ce..2eb8eb5429 100644 --- a/include/wx/cocoa/dc.h +++ b/include/wx/cocoa/dc.h @@ -6,7 +6,7 @@ // Created: 2003/04/01 // RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __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();