Removed deprecated method call [NSImage -setScaledWhenResized]. According to documentation, this method was used for caching behavior and does nothing since OS X 10.6.
Fixed deprecation warnings for [NSImage -setFlipped:]. Instead of using that property to draw flipped images, which is noted by the documentation to have inconsistent behavior in come cases involving image caching, explicitly flip the image. Note that aquaTabBg and aquaTabBgDown are flipped, and the flips for aquaTabBgDownGraphite and aquaTabBgDownNonKey are commented out - the reason for this is that this code originally invoked -setFlipped: on aquaTabBgDown three times, so aquaTabBgGraphite and aquaTabBgNonKey were ultimately left unflipped. This patch matches the drawing behavior from before. If those images were really supposed to be flipped all along, upstream can uncomment the two commented-out _flipImage: calls.