Make wxCocoa work with wxUSE_STL==1:
Use compatibility_iterator instead of Node and Erase instead of DeleteNode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user