1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

FlexBox: Clarified some documentation on object life-times

This commit is contained in:
hogliux 2017-11-16 11:58:43 +00:00
parent 62d713f696
commit 4bb2f83203

View file

@ -51,7 +51,9 @@ public:
/** Creates an item with a given target component. */
FlexItem (Component& componentToControl) noexcept;
/** Creates an item that represents an embedded FlexBox. */
/** Creates an item that represents an embedded FlexBox. This class will not
create a copy of the supplied flex box. You need to ensure that the
life-time of flexBoxToControl is longer than the FlexItem. */
FlexItem (FlexBox& flexBoxToControl) noexcept;
//==============================================================================