Fixed wxCURSOR_HAND to map to GDK_HAND2 and not GDK_HAND1, for consistency with other applications

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2008-01-27 15:26:44 +00:00
parent da79097cbe
commit a36c664252
2 changed files with 3 additions and 1 deletions

View File

@@ -133,6 +133,8 @@ wxGTK:
- Return false from wxEventLoop::Dispatch() if gtk_main_quit() was called and
so the loop should exit (Rodolfo Schulz de Lima).
- Fixed wxCURSOR_HAND to map to GDK_HAND2 and not GDK_HAND1, for consistency
with other applications.
2.8.7

View File

@@ -82,7 +82,7 @@ wxCursor::wxCursor( int cursorId )
case wxCURSOR_ARROW: // fall through to default
case wxCURSOR_DEFAULT: gdk_cur = GDK_LEFT_PTR; break;
case wxCURSOR_RIGHT_ARROW: gdk_cur = GDK_RIGHT_PTR; break;
case wxCURSOR_HAND: gdk_cur = GDK_HAND1; break;
case wxCURSOR_HAND: gdk_cur = GDK_HAND2; break;
case wxCURSOR_CROSS: gdk_cur = GDK_CROSSHAIR; break;
case wxCURSOR_SIZEWE: gdk_cur = GDK_SB_H_DOUBLE_ARROW; break;
case wxCURSOR_SIZENS: gdk_cur = GDK_SB_V_DOUBLE_ARROW; break;