src/java.desktop/windows/native/libawt/windows/awt_Cursor.cpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 142,152 ****
case java_awt_Cursor_W_RESIZE_CURSOR:
case java_awt_Cursor_E_RESIZE_CURSOR:
winCursor = IDC_SIZEWE;
break;
case java_awt_Cursor_HAND_CURSOR:
! winCursor = TEXT("HAND_CURSOR");
break;
case java_awt_Cursor_MOVE_CURSOR:
winCursor = IDC_SIZEALL;
break;
}
--- 142,152 ----
case java_awt_Cursor_W_RESIZE_CURSOR:
case java_awt_Cursor_E_RESIZE_CURSOR:
winCursor = IDC_SIZEWE;
break;
case java_awt_Cursor_HAND_CURSOR:
! winCursor = IDC_HAND;
break;
case java_awt_Cursor_MOVE_CURSOR:
winCursor = IDC_SIZEALL;
break;
}