зеркало из https://github.com/mozilla/pjs.git
Bug 690857 - Windows 7 taskbar previews broken. Fix a bool/BOOL type mismatch. r=mwu
This commit is contained in:
Родитель
44b8bb2d34
Коммит
634763fa4d
|
@ -373,17 +373,18 @@ TaskbarPreview::GetWindowHook() {
|
|||
|
||||
void
|
||||
TaskbarPreview::EnableCustomDrawing(HWND aHWND, bool aEnable) {
|
||||
BOOL enabled = aEnable;
|
||||
nsUXThemeData::dwmSetWindowAttributePtr(
|
||||
aHWND,
|
||||
DWMWA_FORCE_ICONIC_REPRESENTATION,
|
||||
&aEnable,
|
||||
sizeof(aEnable));
|
||||
&enabled,
|
||||
sizeof(enabled));
|
||||
|
||||
nsUXThemeData::dwmSetWindowAttributePtr(
|
||||
aHWND,
|
||||
DWMWA_HAS_ICONIC_BITMAP,
|
||||
&aEnable,
|
||||
sizeof(aEnable));
|
||||
&enabled,
|
||||
sizeof(enabled));
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче