changeset 2029:2bb1121a1960

merge
author Jorge Arellano Cid <jcid@dillo.org>
date Mon, 16 May 2011 21:40:27 -0400
parents f356a146762b (diff) d488f8eb86e4 (current diff)
children 382160be8c2f ae8f0d070aea
files
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/dw_resource_test.cc	Mon May 16 23:31:32 2011 +0000
+++ b/test/dw_resource_test.cc	Mon May 16 21:40:27 2011 -0400
@@ -87,7 +87,7 @@
    widgetStyle->unref();
 
    for(int i = 0; i < 50; i++)
-      res->addItem ("Hello, world!", true, false);
+      res->addItem ("Hello, world!", true, i == 0 ? true : false);
 
    textblock->flush ();
 
--- a/test/fltk_browser.cc	Mon May 16 23:31:32 2011 +0000
+++ b/test/fltk_browser.cc	Mon May 16 21:40:27 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++) {