X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b53195fda49f1d52b3e212174976ee20dcd05fcd..6b6ea919a4a736206ff54265e463b96439eb1dd1:/src/univ/topluniv.cpp?ds=sidebyside diff --git a/src/univ/topluniv.cpp b/src/univ/topluniv.cpp index f16864f80a..35debbc1fe 100644 --- a/src/univ/topluniv.cpp +++ b/src/univ/topluniv.cpp @@ -296,13 +296,14 @@ int wxTopLevelWindow::GetMinHeight() const // icons // ---------------------------------------------------------------------------- -void wxTopLevelWindow::SetIcon(const wxIcon& icon) +void wxTopLevelWindow::SetIcons(const wxIconBundle& icons) { - wxTopLevelWindowNative::SetIcon(icon); + wxTopLevelWindowNative::SetIcons(icons); if ( ms_drawDecorations && m_renderer ) { wxSize size = m_renderer->GetFrameIconSize(); + const wxIcon& icon = icons.GetIcon( size ); if ( !icon.Ok() || size.x == -1 ) m_titlebarIcon = icon;