X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b53195fda49f1d52b3e212174976ee20dcd05fcd..44ba8f0ea92f65d9893ce0780971745a5d8e80ea:/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;