]> git.saurik.com Git - wxWidgets.git/commitdiff
Use new menu item function
authorJulian Smart <julian@anthemion.co.uk>
Fri, 31 Aug 2007 07:37:22 +0000 (07:37 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 31 Aug 2007 07:37:22 +0000 (07:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/taskbar.cpp

index 693f6c766b27de4a7a44cb3ca72773bd9afdcdb4..e263984d0aeb81824d30a3b0d006fce39322a2e8 100644 (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