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