In Xojo, NSMenu needs to have a constructor with the signature Constructor() to be placed on a window.