зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
52e23276e1
Коммит
dd204f50f5
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче