Correct recently broken checked state handling in wxRearrangeList.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Oct 2010 23:43:09 +0000 (23:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Oct 2010 23:43:09 +0000 (23:43 +0000)
commita8b3cea302deee679e1b3b42b61e0bb6110a5513
treee97ec781ee6c7a51f0fcda7fce0897b8c117f0d7
parentbb7cd76766bbe20e08a0fc43efc29ec9741563b5
Correct recently broken checked state handling in wxRearrangeList.

The checked state of them wasn't preserved correctly any more since r64875,
correct this by changing the state only after storing the old one.

Closes #12578.

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