Fixed cast.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1063 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
ceylo 2009-03-23 12:44:55 +00:00
parent a51d20bfab
commit 27c7d487a0

View File

@ -264,7 +264,7 @@ static AppController *shared = nil;
keyEquivalent:@"h"]; keyEquivalent:@"h"];
// + 'Hide other' menu item // + 'Hide other' menu item
menuItem = static_cast <NSMenuItem *> ([appleMenu addItemWithTitle:@"Hide Others" menuItem = reinterpret_cast <NSMenuItem *> ([appleMenu addItemWithTitle:@"Hide Others"
action:@selector(hideOtherApplications:) action:@selector(hideOtherApplications:)
keyEquivalent:@"h"]); keyEquivalent:@"h"]);
[menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)];