mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Remove unneeded call to EnumChildWindows in nsWindow::BroadcastMsgToChildren, which was causing the system color change message to be dispatched too many times. b=173152 r=dcone sr=kin
This commit is contained in:
parent
bf98c65984
commit
f97400373e
@ -698,8 +698,6 @@ BOOL CALLBACK nsWindow::BroadcastMsgToChildren(HWND aWnd, LPARAM aMsg)
|
|||||||
::CallWindowProc(winProc, aWnd, aMsg, 0, 0);
|
::CallWindowProc(winProc, aWnd, aMsg, 0, 0);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
// Send message to children of this window
|
|
||||||
::EnumChildWindows(aWnd, nsWindow::BroadcastMsgToChildren, aMsg);
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user