DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2418 Version: 1.3-current When a user closes a fl_choice dialog using the system menu / window manager / Alt+F4 / that little "x" at the top right, then "ret_val" in fl_ask.cxx is not set, i.e. the return value of the previous invocation of fl_choice is returned. The fix is easy: add one line: ret_val = 0; at line 230 of fl_ask.cxx (as of SVN r7704). That would make closing the window equivalent to pressing the escape key, which sounds quite sane. Link: http://www.fltk.org/str.php?L2418 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
