compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
49db7de411
commit
37d92fba28
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user