This function is currently used for relatively small icons in wxArtProvider and wxSearchCtrl, so it shouldn't be a problem to use wxIMAGE_QUALITY_HIGH from performance point of view and if it ever does become a problem, the application could easily use wxImage::Rescale() with a different option directly instead.