From 502d18a7b40485bafe07449aaa5f6ba38aefb7d2 Mon Sep 17 00:00:00 2001 From: patthoyts Date: Sun, 22 Feb 2009 23:39:11 +0000 Subject: [Patch 2542828] use stock Win32 help arrow cursor for question_arrow --- ChangeLog | 5 +++++ win/tkWinCursor.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cb46dfc..fd5f8c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-02-22 Pat Thoyts + + * win/tkWinCursor.c: Applied patch to support stock Win32 help arrow + cursor when question_arrow requested [Patch 2542828] (danckaert) + 2009-02-21 Pat Thoyts * library/ttk/vistaTheme.tcl: Correct the ttk::treeview border on diff --git a/win/tkWinCursor.c b/win/tkWinCursor.c index 99a7ffd..a3d534e 100644 --- a/win/tkWinCursor.c +++ b/win/tkWinCursor.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinCursor.c,v 1.17 2008/10/17 23:18:38 nijtmans Exp $ + * RCS: @(#) $Id: tkWinCursor.c,v 1.18 2009/02/22 23:39:11 patthoyts Exp $ */ #include "tkWinInt.h" @@ -32,6 +32,9 @@ typedef struct { #ifndef IDC_HAND #define IDC_HAND MAKEINTRESOURCE(32649) #endif +#ifndef IDC_HELP +#define IDC_HELP MAKEINTRESOURCE(32651) +#endif /* * The table below is used to map from the name of a predefined cursor to its @@ -62,6 +65,7 @@ static struct CursorName { {"watch", IDC_WAIT}, {"xterm", IDC_IBEAM}, {"hand2", IDC_HAND}, + {"question_arrow", IDC_HELP}, {NULL, 0} }; -- cgit v0.12