diff --git a/src/MacVim/PSMTabBarControl/source/PSMTabBarControl.h b/src/MacVim/PSMTabBarControl/source/PSMTabBarControl.h index bdf971b25f..440f6a7566 100644 --- a/src/MacVim/PSMTabBarControl/source/PSMTabBarControl.h +++ b/src/MacVim/PSMTabBarControl/source/PSMTabBarControl.h @@ -39,7 +39,12 @@ enum { PSMTab_PositionSingleMask = 1 << 7 }; -@interface PSMTabBarControl : NSControl { +@interface PSMTabBarControl : NSControl +#if (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5) + // 10.6 has turned delegate messages into formal protocols + +#endif +{ // control basics NSMutableArray *_cells; // the cells that draw the tabs