summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJames McLean <jrimclean@gmail.com>2015-06-21 23:15:58 -0400
committerJames McLean <jrimclean@gmail.com>2015-06-21 23:15:58 -0400
commit4e3ec18f7e0794900974f70de4e293838d48c9fe (patch)
tree52048d583a1881a8056a6cd50aab2f6e833eb241 /bin
parent86c87ee66ab8601f081c89e8d85c75003b50ff78 (diff)
parent37af8b413674936518a2ebe180f9e7bfcd5795bb (diff)
Merge branch 'master' of github.com:okamstudio/godot into development
Diffstat (limited to 'bin')
-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 );