Correct the check for MRU menu items range.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 28 Jul 2010 11:26:49 +0000 (11:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 28 Jul 2010 11:26:49 +0000 (11:26 +0000)
commitf50d84586a757fd5116c8dd37c795c0021526c9e
tree374927676062c0e4889008fb11460ad8fe6bb140
parent1ef352a92661fbefa79f5050f6fcce7584fe17b5
Correct the check for MRU menu items range.

The last id of the range if offset by the first one by the number of items in
the menu, not the base id of the file history menu.

Closes #12141.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/docview.cpp