Can't hide DocumentWindow::maximiseButton by excluding flag in OS X

Any one know how to fix this?

Hi marvin,

The flags in the DocumentWindow constructor are meant to be bitwise OR for the buttons that you want - are you doing something like this in your MainWindow initialiser list?

MainWindow (String name)  : DocumentWindow (name,
                                            DocumentWindow::closeButton | DocumentWindow::minimiseButton)

I had setResizable true somewhere that was the issue forgot to update in time thanks for the help