]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dc.h
Fixed size problem due to wxMac window implementation difference
[wxWidgets.git] / include / wx / cocoa / dc.h
index f7f46012ceb74604e437944768ff895aabbcb11a..f1bc6b4592f0bbc640367603f797222014c85321 100644 (file)
@@ -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();