Issue 37 in maccode: PSMTabBarController should implement NSMenuDelegate protocol for Snow Leopard

8 views
Skip to first unread message

codesite...@google.com

unread,
Aug 11, 2010, 5:02:34 AM8/11/10
to mac...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 37 by sven.weidauer: PSMTabBarController should implement
NSMenuDelegate protocol for Snow Leopard
http://code.google.com/p/maccode/issues/detail?id=37

PSMTabBarController should implement NSMenuDelegate protocol for Snow
Leopard. It's just a warning but I really want my projects to compile
without any warnings. Here's a patch to add the necessary declaration.

Maybe this needs to be wrapped in some #ifdefs or something so it compiles
for older SDKs.

----- Patch ------
@@ -10,7 +10,7 @@

@class PSMTabBarControl, PSMTabBarCell;

-@interface PSMTabBarController : NSObject {
+@interface PSMTabBarController : NSObject < NSMenuDelegate > {
PSMTabBarControl *_control;
NSMutableArray *_cellTrackingRects, *_closeButtonTrackingRects;
NSMutableArray *_cellFrames;


Reply all
Reply to author
Forward
0 new messages