From eefa09e6323bda4ac466ae00ef581a9b77200645 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 15 Sep 2005 10:16:08 +0000 Subject: STR #1023: some more test programs did not load the OS default colors git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4570 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/boxtype.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/boxtype.cxx') diff --git a/test/boxtype.cxx b/test/boxtype.cxx index 82e110e55..da2ab53f2 100644 --- a/test/boxtype.cxx +++ b/test/boxtype.cxx @@ -50,6 +50,7 @@ void bt(const char *name, Fl_Boxtype type, int square=0) { } int main(int argc, char ** argv) { + Fl::get_system_colors(); window = new Fl_Single_Window(4*W,ROWS*H); window->box(FL_FLAT_BOX); window->color(12);// light blue @@ -92,7 +93,7 @@ int main(int argc, char ** argv) { bt("FL_PLASTIC_THIN_DOWN_BOX",FL_PLASTIC_THIN_DOWN_BOX); window->resizable(window); window->end(); - //window->show(argc,argv); + //window->show(argc,argv); // commented out, so we won't load any schemes window->show(); return Fl::run(); } -- cgit v1.2.3