+ // NB: setHidden is new as of 10.5 so we should not call it below there
+ if ([m_osxMenuItem respondsToSelector:@selector(setHidden:)])
+ [m_osxMenuItem setHidden:hide ];
+ else
+ wxLogDebug("wxMenuItemCocoaImpl::Hide not yet supported under OS X < 10.5");