This sweeps under the carpet the regression which resulted in bitmaps returned from wxArtProvider::GetBitmap() not looking the same since starting to use wxBitmapBundle in AUI, but OTOH it just doesn't seem possible to both preserve the compatibility and allow actually using appropriate, not scaled, bitmaps in different resolutions. The new code is as simple as the old version, follows the official advice to use GetBitmapBundle() rather than GetBitmap(), and looks good in high DPI, which should compensate for the behaviour change.
68 KiB
68 KiB