summaryrefslogtreecommitdiff
path: root/test/subwindow.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-12-23 03:40:51 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-12-23 03:40:51 +0000
commit6be2be6d436eaae5579c8816d0c0d4cab0c2c7b5 (patch)
tree5a1060a8c4fce44a49065638a6acab2e8f286bb5 /test/subwindow.cxx
parentc868f3d88640b9d3edd2026bf879e70e34829893 (diff)
Demo updates (so they all will use the default scheme)
Added show(argc, argv) method to Fl_Help_Dialog. Don't clear tab area in Fl_Tabs... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1896 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/subwindow.cxx')
-rw-r--r--test/subwindow.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/subwindow.cxx b/test/subwindow.cxx
index 3c0a32580..385c2870d 100644
--- a/test/subwindow.cxx
+++ b/test/subwindow.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: subwindow.cxx,v 1.5.2.5 2001/01/22 15:13:41 easysw Exp $"
+// "$Id: subwindow.cxx,v 1.5.2.5.2.1 2001/12/23 03:40:51 easysw Exp $"
//
// Nested window test program for the Fast Light Tool Kit (FLTK).
//
@@ -151,7 +151,7 @@ const char* bigmess =
#endif
;
-int main(int, char **) {
+int main(int argc, char **argv) {
testwindow *window =
new testwindow(FL_UP_BOX,400,400,"outer");
new Fl_Toggle_Button(310,310,80,80,"&outer");
@@ -178,10 +178,10 @@ int main(int, char **) {
popup->type(Fl_Menu_Button::POPUP3);
popup->add("This|is|a popup|menu");
popup->add(bigmess);
- window->show();
+ window->show(argc, argv);
return Fl::run();
}
//
-// End of "$Id: subwindow.cxx,v 1.5.2.5 2001/01/22 15:13:41 easysw Exp $".
+// End of "$Id: subwindow.cxx,v 1.5.2.5.2.1 2001/12/23 03:40:51 easysw Exp $".
//