Backported bugfix (comparision vs. assignment).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -300,7 +300,7 @@ wxGDIImageHandler* wxGDIImage::FindHandler(
|
||||
{
|
||||
wxGDIImageHandler* pHandler = pNode->GetData();
|
||||
|
||||
if ( (pHandler->GetExtension() = rExtension) &&
|
||||
if ( (pHandler->GetExtension() == rExtension) &&
|
||||
(lType == -1 || pHandler->GetType() == lType) )
|
||||
{
|
||||
return pHandler;
|
||||
|
Reference in New Issue
Block a user