typo in last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-09-11 22:23:38 +00:00
parent ed4780ea6e
commit b9e3186d19

View File

@@ -110,8 +110,8 @@ wxObjectRefData *wxIcon::CloneRefData(const wxObjectRefData *dataOrig) const
return NULL;
wxIcon *self = wx_const_cast(wxIcon *, this);
lf->UnRef();
lf->m_refData = new wxIconRefData(*data);
self->UnRef();
self->m_refData = new wxIconRefData(*data);
if ( data->m_hIcon )
{