Clarify wxMenu objects allocation rules.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Mar 2010 22:39:32 +0000 (22:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 28 Mar 2010 22:39:32 +0000 (22:39 +0000)
commitd16ba4644a175411cf43ac5a5fab60e70d2260b8
treeef209e97c48df65659396f7e2e8d79cee4bff76f
parent7517dcb56e4153e11abc99f464d70ddeb25e3af0
Clarify wxMenu objects allocation rules.

Make it clear that only the menu directly passed to wxWindow::PopupMenu()
doesn't need to be allocated on the heap and that its submenus still do.

Closes #11851.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
interface/wx/menu.h