mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
Hack up wx to support @2x images in the toolbar. Oh please let's switch to Qt...
This commit is contained in:
8
Externals/wxWidgets3/include/wx/bitmap.h
vendored
8
Externals/wxWidgets3/include/wx/bitmap.h
vendored
@ -305,7 +305,13 @@ wxBitmap::
|
||||
#endif
|
||||
ConvertToDisabled(unsigned char brightness) const
|
||||
{
|
||||
return ConvertToImage().ConvertToDisabled(brightness);
|
||||
// XXX comex: scale support
|
||||
wxImage disabledImage = ConvertToImage().ConvertToDisabled(brightness);
|
||||
#ifdef __APPLE__
|
||||
return wxBitmap(disabledImage, -1, GetScaleFactor());
|
||||
#else
|
||||
return disabledImage;
|
||||
#endif
|
||||
}
|
||||
#endif // wxUSE_IMAGE
|
||||
|
||||
|
Reference in New Issue
Block a user