Skip to content

Commit 07b42a6

Browse files
committed
More tweaks
1 parent f27e012 commit 07b42a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/yup_gui/yup_PopupMenu.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ class PopupMenuTest : public ::testing::Test
4949

5050
targetComponent = std::make_unique<Component> ("testTarget");
5151
targetComponent->setBounds (100, 100, 200, 30);
52-
parentComponent->addChildComponent (*targetComponent);
52+
53+
parentComponent->addAndMakeVisible (*targetComponent);
5354
}
5455

5556
std::unique_ptr<Component> parentComponent;

0 commit comments

Comments
 (0)