Using SetIcon(GetIcon()) resulted in ugly scaled icons being used for small icons while using SetIcons(GetIcons()) correctly reuses all parent frame icons in the child one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61522
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifdef __WXMSW__
wxFrame* topFrame = wxDynamicCast(wxTheApp->GetTopWindow(), wxFrame);
if (topFrame)
#ifdef __WXMSW__
wxFrame* topFrame = wxDynamicCast(wxTheApp->GetTopWindow(), wxFrame);
if (topFrame)
- SetIcon(topFrame->GetIcon());
+ SetIcons(topFrame->GetIcons());