Any way to hide/disable the 'close' gadget?

BlitzMax Forums/BlitzMax Programming/Any way to hide/disable the 'close' gadget?

There's no point importing the entire MaxGUI mod just to do this.