]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gdiimage.cpp
move parsing helpers, too (part of r59656)
[wxWidgets.git] / src / msw / gdiimage.cpp
index 910d6c90b5247a8241e643911c96b97a06e5920a..e7aaa0c36f4f10d9a8af4468c260c0688c95bf86 100644 (file)
@@ -548,6 +548,7 @@ bool wxICOResourceHandler::LoadIcon(wxIcon *icon,
             if ( name == stdIcons[nIcon].name )
             {
                 hicon = ::LoadIcon((HINSTANCE)NULL, stdIcons[nIcon].id);
             if ( name == stdIcons[nIcon].name )
             {
                 hicon = ::LoadIcon((HINSTANCE)NULL, stdIcons[nIcon].id);
+                break;
             }
         }
     }
             }
         }
     }