bug 171349: Firefox icon is that of the system default. patch by Anbo Motohiko with my comment added (r=jshin, sr=neil)

This commit is contained in:
jshin%mailaps.org 2005-04-13 12:46:10 +00:00
Родитель 52e23276e1
Коммит dd204f50f5
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -5241,7 +5241,8 @@ LPCWSTR nsWindow::WindowClassW()
#ifdef WINCE
wc.hIcon = NULL;
#else
wc.hIcon = ::LoadIconW(::GetModuleHandle(NULL), MAKEINTRESOURCEW(IDI_APPLICATION));
// XXX : we don't need LoadIconW for now (see bug 171349, comment 181)
wc.hIcon = ::LoadIcon(::GetModuleHandle(NULL), IDI_APPLICATION);
#endif
wc.hCursor = NULL;
wc.hbrBackground = mBrush;
@ -5306,7 +5307,8 @@ LPCWSTR nsWindow::WindowPopupClassW()
#ifdef WINCE
wc.hIcon = NULL;
#else
wc.hIcon = ::LoadIconW(::GetModuleHandle(NULL), MAKEINTRESOURCEW(IDI_APPLICATION));
// XXX : we don't need LoadIconW for now (see bug 171349, comment 181)
wc.hIcon = ::LoadIcon(::GetModuleHandle(NULL), IDI_APPLICATION);
#endif
wc.hCursor = NULL;
wc.hbrBackground = mBrush;