Bugfix (comparision vs. assignment).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -300,7 +300,7 @@ wxGDIImageHandler* wxGDIImage::FindHandler(
|
|||||||
{
|
{
|
||||||
wxGDIImageHandler* pHandler = pNode->GetData();
|
wxGDIImageHandler* pHandler = pNode->GetData();
|
||||||
|
|
||||||
if ( (pHandler->GetExtension() = rExtension) &&
|
if ( (pHandler->GetExtension() == rExtension) &&
|
||||||
(lType == -1 || pHandler->GetType() == lType) )
|
(lType == -1 || pHandler->GetType() == lType) )
|
||||||
{
|
{
|
||||||
return pHandler;
|
return pHandler;
|
||||||
@@ -469,7 +469,7 @@ bool wxICOResourceHandler::LoadIcon( wxIcon* pIcon,
|
|||||||
{
|
{
|
||||||
HPOINTER hIcon;
|
HPOINTER hIcon;
|
||||||
|
|
||||||
hIcon = ::WinLoadFileIcon( (PSZ)rName.c_str()
|
hIcon = ::WinLoadFileIcon( rName.c_str()
|
||||||
,TRUE // load for private use
|
,TRUE // load for private use
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user