Mention that wxSizer::Clear() always deletes child sizers.
The existence of "delete_windows" argument could mislead people into thinking that sizers were not deleted neither when it had false value, see #15475. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0d17c5b66a
commit
be1c0bc6ba
@ -326,7 +326,13 @@ public:
|
||||
|
||||
/**
|
||||
Detaches all children from the sizer.
|
||||
|
||||
If @a delete_windows is @true then child windows will also be deleted.
|
||||
|
||||
Notice that child sizers are always deleted, as a general consequence
|
||||
of the principle that sizers own their sizer children, but don't own
|
||||
their window children (because they are already owned by their parent
|
||||
windows).
|
||||
*/
|
||||
virtual void Clear(bool delete_windows = false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user