From f4b75fc310cb5107c6b435a19b8fc656a7755f4f Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 19 Nov 2007 16:21:48 +0000 Subject: STR 1745: in fl_ask, if the rightmost button has a shortcut in its label, the default 'Escape' is overridden. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5982 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Widget.H | 1 + 1 file changed, 1 insertion(+) diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H index a51d66947..f4c7b1d89 100644 --- a/FL/Fl_Widget.H +++ b/FL/Fl_Widget.H @@ -188,6 +188,7 @@ public: void do_callback(Fl_Widget* o,void* arg=0) {callback_(o,arg); if (callback_ != default_callback) clear_changed();} void do_callback(Fl_Widget* o,long arg) {callback_(o,(void*)arg); if (callback_ != default_callback) clear_changed();} int test_shortcut(); + static char label_shortcut(const char *t); static int test_shortcut(const char*); int contains(const Fl_Widget*) const ; int inside(const Fl_Widget* o) const {return o ? o->contains(this) : 0;} -- cgit v1.2.3