A forum message reports a crash when editing a menu with wxSmith. The message is from 2014, but the issue is still there.
The steps to reproduce are:
The crash is due to a bad rechaining of the moved item in the tree. The attached patch fixes this.
Thank you for the patch.
@devs: are we using "NULL" or "nullptr"?
Looks like nullptr is preferred, see r12001 for example. I have changed the patch to use nullptr instead of 0 in the whole file.
Last edit: Miguel Gimenez 2020-04-17
nullptr, we had this even in the pre-c++11 days, and I have to remove it (see nullptr.h/cpp) :)
in [r12068]
Thank you for your work!
Related
Commit: [r12068]