On 7/21/10 2:09 PM, Alexander Nicolaysen Sørnes wrote:
> Add About dialog to IE
>
+static void ie_dialog_about(HWND hwnd)
+{
+ HICON icon = LoadImageW(GetModuleHandleW(0), MAKEINTRESOURCEW(IDI_APPICON), IMAGE_ICON, 48, 48, LR_SHARED);
+
+ ShellAboutW(hwnd, wszWineInternetExplorer, NULL, icon);
+}
You leak icon here.
Jacek