Avoid compilation warning on OS X 10.4 - 10.6

This commit is contained in:
Bjorn Winckler
2011-07-27 22:19:22 +02:00
parent 31d7d95535
commit 95b3957d73
+4 -1
View File
@@ -168,8 +168,11 @@
- (IBAction)realToggleFullScreen:(id)sender
{
#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7)
// HACK! See toggleFullScreen: comment above.
[super toggleFullScreen:sender];
if ([NSWindow instancesRespondToSelector:@selector(toggleFullScreen:)])
[super toggleFullScreen:sender];
#endif
}
@end // MMWindow