]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/menu.cpp
capture mouse to be notified when it exists the popup rect (bug 1372228)
[wxWidgets.git] / src / os2 / menu.cpp
index 3f8db0640b83172ee1b5fd336267d19f2a2dbff3..ae8c5db5fcf6b0c68ad8748887d3d3c5e85ca380 100644 (file)
@@ -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();