]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/gdiimage.cpp
Added missing include
[wxWidgets.git] / src / os2 / gdiimage.cpp
index 0d21c81be07966255c235c9ee2e20b5dcf27fe97..4c2fee54259d262a30f38f03f2d458fefa288fc6 100644 (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
                              );