]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menu.cpp
missing commit
[wxWidgets.git] / src / msw / menu.cpp
index f1559bdb5780b5b5cd7d86bf00ff9a14ae2d1ac1..37965b485a7da6e08327309d6a145ec7dd1709b2 100644 (file)
@@ -1534,6 +1534,10 @@ void wxMenuBar::RebuildAccelTable()
 
         delete [] accelEntries;
     }
 
         delete [] accelEntries;
     }
+    else // No (more) accelerators.
+    {
+        SetAcceleratorTable(wxAcceleratorTable());
+    }
 }
 
 #endif // wxUSE_ACCEL
 }
 
 #endif // wxUSE_ACCEL