MenuBarComponent - requesting default param in constructor


#1

Presently, MenuBarComponent's constructor requires a pointer to a model, although its documentation says that it's optional (can pass in nullptr to set it later).

It seems that the other JUCE classes that have a model system default their constructor model parameter to nullptr.

Any harm in giving the same treatment to MenuBarComponent for consistency/simplicity?


#2

Agreed.

I'll make this change now!