mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
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:
parent
680097a354
commit
27cd266480
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user