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:
Stefan Neis
2007-04-06 22:16:17 +00:00
parent d51aa8d87b
commit 96ad3e4eb4

View File

@@ -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;
@@ -469,7 +469,7 @@ bool wxICOResourceHandler::LoadIcon( wxIcon* pIcon,
{
HPOINTER hIcon;
hIcon = ::WinLoadFileIcon( (PSZ)rName.c_str()
hIcon = ::WinLoadFileIcon( rName.c_str()
,TRUE // load for private use
);