Icon bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9a0c6b1ed2
commit
b41cdbf4d3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user