]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/menuitem.cpp
don't include headers not needed when wxUSE_GUI == 0
[wxWidgets.git] / src / mac / carbon / menuitem.cpp
index 6cc3aa1a791aed31425708df2f036b244f611a1b..f3c4f869eeed010e5f9a57d4b2c0bbad1a8aadb6 100644 (file)
@@ -208,7 +208,7 @@ void wxMenuItem::Check(bool bDoCheck)
                 }
 
                 // also uncheck all the other items in this radio group
-                wxMenuItemList::Node *node = items.Item(start);
+                wxMenuItemList::compatibility_iterator node = items.Item(start);
                 for ( int n = start; n <= end && node; n++ )
                 {
                     if ( n != pos )