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:
parent
c2c87924e7
commit
c2edb90727
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user