WX: Replace SetIcon with SetIcons(wxIconBundle)
Setting a single icon at a single resolution doesn't scale well, Windows requires a 16x16 icon for the window and a 32x32/48x48 for the taskbar. Providing all icons produces less pixellated results at HiDPI.
This commit is contained in:
1 parent
27d295ec7e
commit
c4f5ced37c
6 files changed
+55
-8
No files matched your search
@@ -43,11 +43,7 @@ NetPlaySetupFrame::NetPlaySetupFrame(wxWindow* const parent, const CGameListCtrl
|
||||
IniFile::Section& netplay_section = *inifile.GetOrCreateSection("NetPlay");
|
||||
|
||||
CreateGUI();
|
||||
{
|
||||
wxIcon icon;
|
||||
icon.CopyFromBitmap(WxUtils::LoadScaledResourceBitmap("Dolphin", this));
|
||||
SetIcon(icon);
|
||||
}
|
||||
SetIcons(WxUtils::GetDolphinIconBundle());
|
||||
|
||||
{
|
||||
std::string temp;
|
||||
|
||||
Reference in new issue
Block a user