DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2266
Version: -current


the symbol FL_CLOSE seems to be broken and not usable as is.  it is defined
in FL/Enumerations.H as part of enum Fl_Event with a value of 10

enum Fl_Event { // events
...
  FL_CLOSE              = 10,



but is redefined if you include the forms.H header where
#define FL_CLOSE        -2


This makes any check you do against Fl::event() fail because it is
returning 10 but FL_CLOSE is being resolved as -2
   if(Fl::event() == FL_CLOSE)


Link: http://www.fltk.org/str.php?L2266
Version: -current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to