issue #5685: fix menu _ctor bug
issue #5685: fix labelatlas _ctor bug
issue #5685: replace create with operator new
Merge pull request #580 from joshuastray/use_new_in_sample

issue #5685: replace create with operator new