Fixed scrollbar rendering problem by commenting out the WM_CTLCOLORSCROLLBAR

message in switch statement. (fix thanks to Michael Lowe)
This commit is contained in:
rods%netscape.com 1999-01-20 15:42:51 +00:00
parent ab042e0e61
commit 1e60f385e8

View File

@ -1437,7 +1437,7 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM wParam, LPARAM lParam, LRESULT
case WM_CTLCOLORLISTBOX:
case WM_CTLCOLOREDIT:
case WM_CTLCOLORBTN:
case WM_CTLCOLORSCROLLBAR:
//case WM_CTLCOLORSCROLLBAR: //XXX causes a the scrollbar to be drawn incorrectly
case WM_CTLCOLORSTATIC:
if (lParam) {
nsWindow* control = (nsWindow*)::GetWindowLong((HWND)lParam, GWL_USERDATA);