From af643bb49d0a65a0cd84593fd93ccdfd2bd26e23 Mon Sep 17 00:00:00 2001 From: Joshua Gerrard Date: Wed, 15 Jul 2015 09:49:16 +0000 Subject: [PATCH] Added default constructor to MenuBarComponent --- modules/juce_gui_basics/menus/juce_MenuBarComponent.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/juce_gui_basics/menus/juce_MenuBarComponent.h b/modules/juce_gui_basics/menus/juce_MenuBarComponent.h index badd05a5cf..5c8e93aa45 100644 --- a/modules/juce_gui_basics/menus/juce_MenuBarComponent.h +++ b/modules/juce_gui_basics/menus/juce_MenuBarComponent.h @@ -41,10 +41,10 @@ public: /** Creates a menu bar. @param model the model object to use to control this bar. You can - pass nullptr into this if you like, and set the model - later using the setModel() method + pass omit the parameter or pass nullptr into this if you like, + and set the model later using the setModel() method. */ - MenuBarComponent (MenuBarModel* model); + MenuBarComponent (MenuBarModel* model = nullptr); /** Destructor. */ ~MenuBarComponent();