Browse Source

Made the demo host compatible with OS X 10.6

tags/2021-05-28
tpoole 8 years ago
parent
commit
3cd4a9d917
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      examples/audio plugin host/Source/MainHostWindow.cpp

+ 6
- 1
examples/audio plugin host/Source/MainHostWindow.cpp View File

@@ -213,7 +213,12 @@ void MainHostWindow::changeListenerCallback (ChangeBroadcaster* changed)
StringArray MainHostWindow::getMenuBarNames()
{
return { "File", "Plugins", "Options", "Windows" };
StringArray names;
names.add ("File");
names.add ("Plugins");
names.add ("Options");
names.add ("Windows");
return names;
}
PopupMenu MainHostWindow::getMenuForIndex (int topLevelMenuIndex, const String& /*menuName*/)


Loading…
Cancel
Save