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


#1

Any one know how to fix this?


#2

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,
                                            Colours::lightgrey,
                                            DocumentWindow::closeButton | DocumentWindow::minimiseButton)

#3

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