git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4962
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
);
virtual bool LoadFile( wxBitmap* pBitmap
,const wxString& rName
);
virtual bool LoadFile( wxBitmap* pBitmap
,const wxString& rName
,long lFlags
,int nDesiredWidth
,int nDesiredHeight
,long lFlags
,int nDesiredWidth
,int nDesiredHeight
);
virtual bool Load( wxGDIImage* pImage
,const wxString& rName
);
virtual bool Load( wxGDIImage* pImage
,const wxString& rName
,long lFlags
,int nDesiredWidth
,int nDesiredHeight
,long lFlags
,int nDesiredWidth
,int nDesiredHeight
UnRef();
wxBitmapHandler* pHandler = wxDynamicCast( FindHandler(lType)
UnRef();
wxBitmapHandler* pHandler = wxDynamicCast( FindHandler(lType)
return(pHandler->LoadFile( this
,rFilename
return(pHandler->LoadFile( this
,rFilename
bool wxBitmapHandler::Load(
wxGDIImage* pImage
, const wxString& rName
bool wxBitmapHandler::Load(
wxGDIImage* pImage
, const wxString& rName
, long lFlags
, int nWidth
, int nHeight
, long lFlags
, int nWidth
, int nHeight
return(pBitmap ? LoadFile( pBitmap
,rName
return(pBitmap ? LoadFile( pBitmap
,rName
bool wxBitmapHandler::LoadFile(
wxBitmap* WXUNUSED(pBitmap)
, const wxString& WXUNUSED(rName)
bool wxBitmapHandler::LoadFile(
wxBitmap* WXUNUSED(pBitmap)
, const wxString& WXUNUSED(rName)
, long WXUNUSED(lType)
, int WXUNUSED(nDesiredWidth)
, int WXUNUSED(nDesiredHeight)
, long WXUNUSED(lType)
, int WXUNUSED(nDesiredWidth)
, int WXUNUSED(nDesiredHeight)
)
{
wxGDIImageHandler* pHandler = FindHandler(lType);
)
{
wxGDIImageHandler* pHandler = FindHandler(lType);
UnRef();
m_refData = new wxIconRefData;
UnRef();
m_refData = new wxIconRefData;
if (pHandler)
return(pHandler->Load( this
,rFilename
if (pHandler)
return(pHandler->Load( this
,rFilename
,lType
,nDesiredWidth
,nDesiredHeight
,lType
,nDesiredWidth
,nDesiredHeight