Use the correct CanRemove() instead of the non-existent CanRename(). Closes https://github.com/wxWidgets/wxWidgets/pull/747