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:
kmcclusk%netscape.com 2002-10-08 01:57:38 +00:00
parent bf98c65984
commit f97400373e

View File

@ -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;
} }