8301994: Remove unused code from awt_List.cpp

Reviewed-by: serb, prr, aivanov
This commit is contained in:
Rajat Mahajan 2024-01-12 17:14:16 +00:00 committed by Alexey Ivanov
parent e33031b850
commit 8b6293f6bf

View File

@ -170,17 +170,6 @@ void AwtList::ReleaseDragCapture(UINT flags)
void AwtList::Reshape(int x, int y, int w, int h)
{
AwtComponent::Reshape(x, y, w, h);
/*
HWND hList = GetListHandle();
if (hList != NULL) {
long flags = SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOCOPYBITS;
/*
* Fix for bug 4046446.
* /
SetWindowPos(hList, 0, 0, 0, w, h, flags);
}
*/
}
//Netscape : Override the AwtComponent method so we can set the item height