mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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:
@ -85,9 +85,7 @@ CRenderFrame::CRenderFrame(wxFrame* parent, wxWindowID id, const wxString& title
|
||||
: wxFrame(parent, id, title, pos, size, style)
|
||||
{
|
||||
// Give it an icon
|
||||
wxIcon IconTemp;
|
||||
IconTemp.CopyFromBitmap(WxUtils::LoadScaledResourceBitmap("Dolphin", this));
|
||||
SetIcon(IconTemp);
|
||||
SetIcons(WxUtils::GetDolphinIconBundle());
|
||||
|
||||
DragAcceptFiles(true);
|
||||
Bind(wxEVT_DROP_FILES, &CRenderFrame::OnDropFiles, this);
|
||||
|
Reference in New Issue
Block a user