// creating and saving icons is not supported
virtual bool Create( wxGDIImage* WXUNUSED(pImage)
- ,void* WXUNUSED(pData)
+ ,const void* WXUNUSED(pData)
,long WXUNUSED(lFlags)
,int WXUNUSED(nWidth)
,int WXUNUSED(nHeight)
return true;
}
-WXHANDLE wxGDIImage::GetResourceHandle()
+WXHANDLE wxGDIImage::GetResourceHandle() const
{
return GetHandle();
}
{
wxGDIImageHandler* pHandler = pNode->GetData();
- if ( (pHandler->GetExtension() = rExtension) &&
+ if ( (pHandler->GetExtension() == rExtension) &&
(lType == -1 || pHandler->GetType() == lType) )
{
return pHandler;
{
HPOINTER hIcon;
- hIcon = ::WinLoadFileIcon( (PSZ)rName.c_str()
+ hIcon = ::WinLoadFileIcon( rName.c_str()
,TRUE // load for private use
);