X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b3dc8019a520ce5e166c8ae9098ba020f8b3f94..ee92941afca091bf72d17e96ac8388545700d1fc:/src/os2/menu.cpp?ds=sidebyside diff --git a/src/os2/menu.cpp b/src/os2/menu.cpp index 3f8db0640b..ae8c5db5fc 100644 --- a/src/os2/menu.cpp +++ b/src/os2/menu.cpp @@ -201,7 +201,7 @@ void wxMenu::UpdateAccel( // // Find the (new) accel for this item // - wxAcceleratorEntry* pAccel = wxGetAccelFromString(pItem->GetText()); + wxAcceleratorEntry* pAccel = wxAcceleratorEntry::Create(pItem->GetText()); if (pAccel) pAccel->m_command = pItem->GetId();