VirtualBox

Ignore:
Timestamp:
Feb 14, 2020 10:48:14 AM (5 years ago)
Author:
vboxsync
Message:

VBoxTray: Fix for icon regression from r135890 (Artwork/win/TemplateExe.rc).

Location:
trunk/src/VBox/Additions/WINNT/VBoxTray
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxHelpers.cpp

    r82968 r83072  
    2525
    2626#include "VBoxHelpers.h"
    27 #include "resource.h"
    2827
    2928
     
    298297    {
    299298        /* Load (or retrieve handle of) the app's icon. */
    300         HICON hIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_VIRTUALBOX));
     299        HICON hIcon = LoadIcon(hInst, "IDI_ICON1"); /* see Artwork/win/TemplateR3.rc */
    301300        if (hIcon)
    302301            niData.dwInfoFlags = NIIF_USER; /* Use an own notification icon. */
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.cpp

    r82968 r83072  
    3737#include "VBoxLA.h"
    3838#include <VBoxHook.h>
    39 #include "resource.h"
    4039
    4140#include <sddl.h>
     
    208207static int vboxTrayCreateTrayIcon(void)
    209208{
    210     HICON hIcon = LoadIcon(g_hInstance, MAKEINTRESOURCE(IDI_VIRTUALBOX));
     209    HICON hIcon = LoadIcon(g_hInstance, "IDI_ICON1"); /* see Artwork/win/TemplateR3.rc */
    211210    if (hIcon == NULL)
    212211    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette