diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 1d5ff12350..a137bb0e7e 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -141,7 +141,7 @@ void wxMenu::Append(wxMenuItem *pItem) wxCHECK_RET( pItem != NULL, wxT("can't append NULL item to the menu") ); #if wxUSE_ACCEL - wxAcceleratorEntry *accel = wxGetAccelFromMenuLabel(pItem->GetText()); + wxAcceleratorEntry *accel = wxGetAccelFromString(pItem->GetText()); if ( accel ) { m_accels.Add(accel); }