Merged trunk 47733:
Silence the warning about lack of [NSApplication +setAppleMenu:] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,6 +27,12 @@
|
||||
#import <AppKit/NSApplication.h>
|
||||
#import <AppKit/NSWindow.h>
|
||||
|
||||
// Declare setAppleMenu: in an NSApplication category since Tiger and later
|
||||
// releases support it but don't declare it as it's considered deprecated.
|
||||
@interface NSApplication(wxDeprecatedMethodsWeWantToUse)
|
||||
- (void)setAppleMenu:(NSMenu *)menu;
|
||||
@end
|
||||
|
||||
// ============================================================================
|
||||
// wxMenuBarManagerObserver
|
||||
// ============================================================================
|
||||
|
Reference in New Issue
Block a user