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
This commit is contained in:
Matthias Melcher 2007-11-19 16:21:48 +00:00
parent d2242d59ef
commit f4b75fc310

View File

@ -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;}