From a36c664252e8bf8d71f55592663e3c3faa790f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 27 Jan 2008 15:26:44 +0000 Subject: [PATCH] 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 --- docs/changes.txt | 2 ++ src/gtk/cursor.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 5ceb7e8374..6363335a42 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -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 diff --git a/src/gtk/cursor.cpp b/src/gtk/cursor.cpp index c7cc7e6c6f..20ceceeab8 100644 --- a/src/gtk/cursor.cpp +++ b/src/gtk/cursor.cpp @@ -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;