Use new menu item function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2007-08-31 07:37:22 +00:00
parent c2c87924e7
commit c2edb90727

View File

@ -290,7 +290,7 @@ wxMenu * wxDeepCopyMenu( wxMenu *menu )
new wxMenuItem(
m_pMenu, // parent menu
theItem->GetId(), // id
theItem->GetText(), // text label
theItem->GetItemLabel(), // text label
theItem->GetHelp(), // status bar help string
theItem->GetKind(), // menu flags - checkable, separator, etc.
wxDeepCopyMenu(theItem->GetSubMenu()) )); // submenu