From: David Webster Date: Fri, 10 Mar 2000 23:12:21 +0000 (+0000) Subject: Icon bug X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b41cdbf4d3e32bdead9ab2e5d158a6a8537e7ff6 Icon bug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/os2/icon.cpp b/src/os2/icon.cpp index 9168126aee..26f744c91f 100644 --- a/src/os2/icon.cpp +++ b/src/os2/icon.cpp @@ -94,11 +94,11 @@ bool wxIcon::LoadFile( , int nDesiredHeight ) { - wxGDIImageHandler* pHandler = FindHandler(lType); HPS hPs = NULLHANDLE; UnRef(); - m_refData = new wxIconRefData; + + wxGDIImageHandler* pHandler = FindHandler(lType); if (pHandler) return(pHandler->Load( this