git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster 2000-03-10 23:12:21 +00:00
parent 9a0c6b1ed2
commit b41cdbf4d3

View File

@ -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