From b41cdbf4d3e32bdead9ab2e5d158a6a8537e7ff6 Mon Sep 17 00:00:00 2001 From: David Webster Date: Fri, 10 Mar 2000 23:12:21 +0000 Subject: [PATCH] Icon bug git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/icon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.45.2