summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/adjuster.cxx4
-rw-r--r--test/boxtype.cxx3
-rw-r--r--test/message.cxx1
3 files changed, 5 insertions, 3 deletions
diff --git a/test/adjuster.cxx b/test/adjuster.cxx
index 9549543d3..e12957ab4 100644
--- a/test/adjuster.cxx
+++ b/test/adjuster.cxx
@@ -38,7 +38,7 @@ void adjcb(Fl_Widget *o, void *v) {
b->redraw();
}
-int main(int, char ** argv) {
+int main(int argc, char ** argv) {
Fl_Window window(320,100,argv[0]);
char buf1[100];
@@ -57,7 +57,7 @@ int main(int, char ** argv) {
window.resizable(window);
window.end();
- window.show();
+ window.show(argc, argv);
return Fl::run();
}
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();
}
diff --git a/test/message.cxx b/test/message.cxx
index 446690579..c5e865a41 100644
--- a/test/message.cxx
+++ b/test/message.cxx
@@ -32,6 +32,7 @@
int main(int, char **) {
Fl::scheme(NULL);
+ Fl::get_system_colors();
fl_message("Spelling check sucessful, %d errors found with %g%% confidence",
1002, 100*(15/77.0));