Add wxBitmap::Rescale() and use it instead of RescaleBitmap(). See https://github.com/wxWidgets/wxWidgets/pull/2534