1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Changed the constness of the return type of MenuBarModel::getMenuBarNames() and MenuBarModel::getMenuForIndex(). Easy to update your code to handle this, just remove the 'const'.

This commit is contained in:
jules 2012-05-23 21:31:44 +01:00
parent 53b1e351cf
commit 4e754a838b
10 changed files with 22 additions and 23 deletions

View file

@ -111,15 +111,15 @@ public:
//==============================================================================
/** This method must return a list of the names of the menus. */
virtual const StringArray getMenuBarNames() = 0;
virtual StringArray getMenuBarNames() = 0;
/** This should return the popup menu to display for a given top-level menu.
@param topLevelMenuIndex the index of the top-level menu to show
@param menuName the name of the top-level menu item to show
*/
virtual const PopupMenu getMenuForIndex (int topLevelMenuIndex,
const String& menuName) = 0;
virtual PopupMenu getMenuForIndex (int topLevelMenuIndex,
const String& menuName) = 0;
/** This is called when a menu item has been clicked on.