made wxTLW::SetIcon() non-virtual, it was already implemented in terms of
SetIcons() in most of the ports, now do it in all of them git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -995,13 +995,6 @@ bool wxTopLevelWindowOS2::ShowFullScreen( bool bShow,
|
||||
// wxTopLevelWindowOS2 misc
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void wxTopLevelWindowOS2::SetIcon(
|
||||
const wxIcon& rIcon
|
||||
)
|
||||
{
|
||||
SetIcons(wxIconBundle(rIcon));
|
||||
} // end of wxTopLevelWindowOS2::SetIcon
|
||||
|
||||
void wxTopLevelWindowOS2::SetIcons(
|
||||
const wxIconBundle& rIcons
|
||||
)
|
||||
@@ -1011,7 +1004,7 @@ void wxTopLevelWindowOS2::SetIcons(
|
||||
//
|
||||
wxTopLevelWindowBase::SetIcons(rIcons);
|
||||
|
||||
const wxIcon& vIcon = rIcons.GetIcon(wxSize(32, 32));
|
||||
const wxIcon& vIcon = rIcons.GetIcon(32);
|
||||
|
||||
if (vIcon.Ok() && vIcon.GetWidth() == 32 && vIcon.GetHeight() == 32)
|
||||
{
|
||||
|
Reference in New Issue
Block a user