Skip to content

Commit

Permalink
8301994: Remove unused code from awt_List.cpp
Browse files Browse the repository at this point in the history
Reviewed-by: serb, prr, aivanov
  • Loading branch information
rajamah authored and aivanov-jdk committed Jan 12, 2024
1 parent e33031b commit 8b6293f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/java.desktop/windows/native/libawt/windows/awt_List.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 8b6293f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.