changeset 2028:f356a146762b

fltk-browser: enable line selection
author Jorge Arellano Cid <jcid@dillo.org>
date Mon, 16 May 2011 21:33:10 -0400
parents 223cf05a7e6a
children 2bb1121a1960
files test/fltk_browser.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/fltk_browser.cc	Mon May 16 14:47:29 2011 -0400
+++ b/test/fltk_browser.cc	Mon May 16 21:33:10 2011 -0400
@@ -20,7 +20,7 @@
 
 
 #include <FL/Fl_Window.H>
-#include <FL/Fl_Browser.H>
+#include <FL/Fl_Multi_Browser.H>
 #include <FL/Fl.H>
 
 int main (int argc, char *argv[])
@@ -28,7 +28,7 @@
    Fl_Window *window = new Fl_Window (300, 300, "FLTK Browser");
    window->box(FL_NO_BOX);
    window->begin ();
-   Fl_Browser *browser = new Fl_Browser (0, 0, 300, 300);
+   Fl_Multi_Browser *browser = new Fl_Multi_Browser (0, 0, 300, 300);
    browser->begin ();
 
    for (int i = 0; i < 10; i++) {