| OLD | NEW |
| (Empty) |
| 1 Name: Apple sample code | |
| 2 URL: http://developer.apple.com/ | |
| 3 Version: unknown | |
| 4 Security Critical: Yes | |
| 5 License: Custom license | |
| 6 | |
| 7 Local changes: | |
| 8 * ImageAndTextCell.h: Changed 'image' property to 'retain' mode to fix a crash. | |
| 9 * ImageAndTextCell.m: Moved '@synthesize' to to the top of '@implementation' as | |
| 10 suggested by a clang warning. | |
| 11 * ImageAndTextCell.m: Switched from -[NSImage compositeToPoint:operation:] to | |
| 12 -[NSImage drawInRect:fromRect:operation:fraction:respectFl
ipped:hints:] | |
| 13 as the former is deprecated and doesn't work properly in | |
| 14 HiDPI. | |
| 15 * ImageAndTextCell.m: When compiling against OSX 10.9 SDK or older, add a | |
| 16 typedef for NSCellHitResult. Use NSCellHitResult instead | |
| 17 of NSUInteger in the definition for -[NSImage | |
| 18 hitTestForEvent:inRect:ofView:]. This fixes a warning | |
| 19 when compiling against the OSX 10.10 SDK. | |
| OLD | NEW |