]> git.saurik.com Git - wxWidgets.git/commitdiff
Silence the warning about lack of [NSApplication +setAppleMenu:]
authorDavid Elliott <dfe@tgwbd.org>
Thu, 26 Jul 2007 16:08:39 +0000 (16:08 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Thu, 26 Jul 2007 16:08:39 +0000 (16:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/mbarman.mm

index 2eda41c0d4f0cd9da31b4b8c2c701207f79ea111..81930b9135f9c29f69b32c45ad5a924cd1f03ee6 100644 (file)
 #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
 // ============================================================================