diff --git a/modules/juce_audio_processors/format/juce_AudioPluginFormatManager.h b/modules/juce_audio_processors/format/juce_AudioPluginFormatManager.h index 619dbb5fb7..4ecfd52c62 100644 --- a/modules/juce_audio_processors/format/juce_AudioPluginFormatManager.h +++ b/modules/juce_audio_processors/format/juce_AudioPluginFormatManager.h @@ -35,7 +35,7 @@ @see AudioPluginFormat */ -class JUCE_API AudioPluginFormatManager : private DeletedAtShutdown +class JUCE_API AudioPluginFormatManager { public: //============================================================================== diff --git a/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp b/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp index 4ad0caae8d..9a326324ee 100644 --- a/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp +++ b/modules/juce_audio_processors/scanning/juce_PluginListComponent.cpp @@ -238,8 +238,8 @@ void PluginListComponent::scanFor (AudioPluginFormat* format) pathList.setPath (path); aw.addCustomComponent (&pathList); - aw.addButton (TRANS("Scan"), 1, KeyPress::returnKey); - aw.addButton (TRANS("Cancel"), 0, KeyPress::escapeKey); + aw.addButton (TRANS("Scan"), 1, KeyPress (KeyPress::returnKey)); + aw.addButton (TRANS("Cancel"), 0, KeyPress (KeyPress::escapeKey)); if (aw.runModalLoop() == 0) return; @@ -258,7 +258,7 @@ void PluginListComponent::scanFor (AudioPluginFormat* format) AlertWindow aw (TRANS("Scanning for plugins..."), TRANS("Searching for all possible plugin files..."), AlertWindow::NoIcon); - aw.addButton (TRANS("Cancel"), 0, KeyPress::escapeKey); + aw.addButton (TRANS("Cancel"), 0, KeyPress (KeyPress::escapeKey)); aw.addProgressBarComponent (progress); aw.enterModalState();