summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tile.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/tile.cxx b/test/tile.cxx
index c64d70803..895baa858 100644
--- a/test/tile.cxx
+++ b/test/tile.cxx
@@ -30,6 +30,8 @@
#include <FL/Fl_Tile.H>
#include <FL/Fl_Box.H>
+//#define TEST_INACTIVE
+
int main(int argc, char** argv) {
Fl_Window window(300,300);
window.box(FL_NO_BOX);
@@ -82,6 +84,9 @@ int main(int argc, char** argv) {
tile.end();
window.end();
+#ifdef TEST_INACTIVE // test inactive case
+ tile.deactivate();
+#endif
w1.show();
window.show(argc,argv);
return Fl::run();