From: Vadim Zeitlin Date: Sat, 11 Sep 2004 22:23:38 +0000 (+0000) Subject: typo in last commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b9e3186d195f6a6211794f849f1efffdccf91444 typo in last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/icon.cpp b/src/msw/icon.cpp index 5cab68a51c..564a07d875 100644 --- a/src/msw/icon.cpp +++ b/src/msw/icon.cpp @@ -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 ) {