File diff r20654:9830ca4c407b → r20655:3309c8d19a22
src/video/cocoa/cocoa_v.h
Show inline comments
 
@@ -232,7 +232,17 @@ uint QZ_ListModes(OTTD_Point *modes, uin
 
@end
 

	
 
/** Subclass of NSView to fix Quartz rendering and mouse awareness */
 
@interface OTTD_CocoaView : NSView <NSTextInput> {
 
@interface OTTD_CocoaView : NSView
 
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
 
#	if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4
 
		<NSTextInputClient, NSTextInput>
 
#	else
 
		<NSTextInputClient>
 
#	endif /* MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 */
 
#else
 
	<NSTextInput>
 
#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 */
 
{
 
	CocoaSubdriver *driver;
 
	NSTrackingRectTag trackingtag;
 
}