nagyistoce / maccode

Automatically exported from code.google.com/p/maccode
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

PSMTabBarController should implement NSMenuDelegate protocol for Snow Leopard #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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;

Original issue reported on code.google.com by sven.weidauer@gmail.com on 11 Aug 2010 at 9:01