DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2159
Version: 1.3-current
Link: http://www.fltk.org/str.php?L2159
Version: 1.3-current
Index: src/fl_ask.cxx
===================================================================
--- src/fl_ask.cxx (revision 6668)
+++ src/fl_ask.cxx (working copy)
@@ -212,8 +212,9 @@
Fl_Window* g = Fl::grab();
if (g) // do an alternative grab to avoid floating menus, if possible
Fl::grab(message_form);
- int r;
+ int r = 0;
for (;;) {
+ if (!message_form->shown()) break;
Fl_Widget *o = Fl::readqueue();
if (!o) Fl::wait();
else if (o == button[0]) {r = 0; break;}
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs