compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-10-26 13:32:56 +00:00
parent 49db7de411
commit 37d92fba28

View File

@ -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);
}