Author: matt
Date: 2007-11-19 08:21:48 -0800 (Mon, 19 Nov 2007)
New Revision: 5982
Log:
STR 1745: in fl_ask, if the rightmost button has a shortcut in its label, the
default 'Escape' is overridden.
Modified:
branches/branch-1.1/FL/Fl_Widget.H
Modified: branches/branch-1.1/FL/Fl_Widget.H
===================================================================
--- branches/branch-1.1/FL/Fl_Widget.H 2007-11-19 16:21:19 UTC (rev 5981)
+++ branches/branch-1.1/FL/Fl_Widget.H 2007-11-19 16:21:48 UTC (rev 5982)
@@ -188,6 +188,7 @@
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;}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit