BUG: maximize button (mac)

There is no way to get rid of maximize button for mac DocumentWindow.
It doesn’t matter what TitleBarButtons you provide to DocumentWindow constructor. Even if you provide only 4 (closeButton), the maximize button will be available anyway.