Icon bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -94,11 +94,11 @@ bool wxIcon::LoadFile(
|
|||||||
, int nDesiredHeight
|
, int nDesiredHeight
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
wxGDIImageHandler* pHandler = FindHandler(lType);
|
|
||||||
HPS hPs = NULLHANDLE;
|
HPS hPs = NULLHANDLE;
|
||||||
|
|
||||||
UnRef();
|
UnRef();
|
||||||
m_refData = new wxIconRefData;
|
|
||||||
|
wxGDIImageHandler* pHandler = FindHandler(lType);
|
||||||
|
|
||||||
if (pHandler)
|
if (pHandler)
|
||||||
return(pHandler->Load( this
|
return(pHandler->Load( this
|
||||||
|
Reference in New Issue
Block a user