]> git.saurik.com Git - wxWidgets.git/commitdiff
supporting earlier xcode version
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 21 Aug 2009 18:22:28 +0000 (18:22 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 21 Aug 2009 18:22:28 +0000 (18:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/menu.mm

index aff7a283e18e28b0a4334d5cb1d2e16bdc5c7365..34ea162c4df9c5e42db597dcf50320a9d9264402 100644 (file)
 
 @end
 
 
 @end
 
-@interface wxNSMenuController : NSObject <NSMenuDelegate>
+@interface wxNSMenuController : NSObject 
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
+    <NSMenuDelegate>
+#endif
 {
 }
 
 {
 }