]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menu.cpp
Tidied some docs, made VC++ 6 DLL compilation work with wxvc_dll.dsp,
[wxWidgets.git] / src / msw / menu.cpp
index 1fb674564ee89674887d1887002d4d5c1f52931e..22b89e7b4e72cb28027133e3d35859755e9aa510 100644 (file)
@@ -150,6 +150,7 @@ void wxMenu::Append(wxMenuItem *pItem)
     wxAcceleratorEntry *accel = wxGetAccelFromString(pItem->GetText());
     if ( accel ) {
         m_accels.Add(accel);
+        accel->m_command = pItem->GetId();
     }
 #endif // wxUSE_ACCEL