+ if (n == wxNOT_FOUND)
+ {
+ //
+ // No old, add new if any
+ //
+ if (pAccel)
+ {
+ if (m_nNextAccel < 128)
+ {
+ m_vAccels[m_nNextAccel] = pAccel;
+ m_nNextAccel++;
+ }
+ else
+ return; // skipping RebuildAccelTable() below
+ }
+ else
+ return; // skipping RebuildAccelTable() below
+ }