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

[STR New]

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


The last line in the browser was not sorted.
Here is a example code:
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Browser.H>
int 
main(int argc, char **argv)
{
    Fl_Window *w = new Fl_Window(100,300);
    Fl_Browser *b= new Fl_Browser(0,0,100,300);
    b->add("c");
    b->add("b");
    b->add("a");
    b->sort();
    w->end();
    w->show(argc, argv);
    Fl::run();
    return 0;
}

The result is:
"b"
"c"
"a"

But not:
"a"
"b"
"c"

It seemed that the last line(here with title "a") was not sorted.


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

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

Reply via email to