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;