Currently if when drawing an image the destination rectangle doesn't match the size of the image, we rescale it manually. But wxGraphicsContext supports image resizing "automatically" and more efficiently by just passing the correct coordinates. We should use the capabilities of the API.
Created attachment 25354 [details]
Use DrawBitmap instead of Blit and avoid costly image rescaling
Makes the wxGraphicsContext image drawing path more efficient by using DrawBitmap and wxGraphicsContext's ability to render rescaled images for us.
Landed in r38685, thanks!