Browse Source

Added default constructor to MenuBarComponent

tags/2021-05-28
Joshua Gerrard Timur Doumler 10 years ago
parent
commit
af643bb49d
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      modules/juce_gui_basics/menus/juce_MenuBarComponent.h

+ 3
- 3
modules/juce_gui_basics/menus/juce_MenuBarComponent.h View File

@@ -41,10 +41,10 @@ public:
/** Creates a menu bar. /** Creates a menu bar.
@param model the model object to use to control this bar. You can @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. */ /** Destructor. */
~MenuBarComponent(); ~MenuBarComponent();


Loading…
Cancel
Save