mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
Fixed cast.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1063 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
a51d20bfab
commit
27c7d487a0
@ -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)];
|
||||||
|
Loading…
Reference in New Issue
Block a user