git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4195
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxCHECK_RET( pItem != NULL, wxT("can't append NULL item to the menu") );
#if wxUSE_ACCEL
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);
}
if ( accel ) {
m_accels.Add(accel);
}