summaryrefslogtreecommitdiff
path: root/bin/tests/test_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tests/test_gui.cpp')
-rw-r--r--bin/tests/test_gui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/tests/test_gui.cpp b/bin/tests/test_gui.cpp
index 8822febdeb..c404623872 100644
--- a/bin/tests/test_gui.cpp
+++ b/bin/tests/test_gui.cpp
@@ -109,6 +109,9 @@ public:
frame->set_anchor( MARGIN_RIGHT, Control::ANCHOR_END );
frame->set_anchor( MARGIN_BOTTOM, Control::ANCHOR_END );
frame->set_end( Point2(0,0) );
+
+ Ref<Theme> t = memnew( Theme );
+ frame->set_theme(t);
get_root()->add_child( frame );