From 8b6293f6bfb7b7628c6604e6c44401fc96d85cf4 Mon Sep 17 00:00:00 2001 From: Rajat Mahajan Date: Fri, 12 Jan 2024 17:14:16 +0000 Subject: [PATCH] 8301994: Remove unused code from awt_List.cpp Reviewed-by: serb, prr, aivanov --- .../windows/native/libawt/windows/awt_List.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/java.desktop/windows/native/libawt/windows/awt_List.cpp b/src/java.desktop/windows/native/libawt/windows/awt_List.cpp index a04f6182a5b..7ffbb5c6a85 100644 --- a/src/java.desktop/windows/native/libawt/windows/awt_List.cpp +++ b/src/java.desktop/windows/native/libawt/windows/awt_List.cpp @@ -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