wxOSX: store the menu title when inserting it in the menu bar.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 26 Apr 2013 20:00:52 +0000 (20:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 26 Apr 2013 20:00:52 +0000 (20:00 +0000)
commit9014508c38ef874b3170e003d58c2ce9618778d3
tree5eaeb5b9067f23dadadbb6e7383ad9b6c0cbf825
parent2bc096a0a53450d9f3e519f4f66cdeb2e58a466d
wxOSX: store the menu title when inserting it in the menu bar.

We "lost" the menu title if the menu was inserted, and not appended, to the
menu bar, resulting wxMenuBar::GetMenuLabel[Text]() returning empty strings
for it in this case.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/menu_osx.cpp