mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Fixed scrollbar rendering problem by commenting out the WM_CTLCOLORSCROLLBAR
message in switch statement. (fix thanks to Michael Lowe)
This commit is contained in:
parent
ab042e0e61
commit
1e60f385e8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user