1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00

Minor fixes for AudioPluginFormatManager, PluginListComponent.

This commit is contained in:
jules 2012-07-13 16:16:20 +01:00
parent baecac82d9
commit 55dc84bc69
2 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@
@see AudioPluginFormat
*/
class JUCE_API AudioPluginFormatManager : private DeletedAtShutdown
class JUCE_API AudioPluginFormatManager
{
public:
//==============================================================================

View file

@ -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();