summaryrefslogtreecommitdiff
path: root/test/boxtype.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-09-15 10:16:08 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-09-15 10:16:08 +0000
commiteefa09e6323bda4ac466ae00ef581a9b77200645 (patch)
tree5cd310fd07b5cbad19111a214a1aeaaffbae64c5 /test/boxtype.cxx
parent20360099195593fbf900f265ad90316fcd252856 (diff)
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
Diffstat (limited to 'test/boxtype.cxx')
-rw-r--r--test/boxtype.cxx3
1 files changed, 2 insertions, 1 deletions
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();
}