Build fixes for Juce 6

This commit is contained in:
xenakios
2020-12-11 04:02:36 +02:00
parent 8bfd8557b7
commit 7d9ed352a1
4 changed files with 21 additions and 5 deletions

View File

@ -252,9 +252,10 @@ PaulstretchpluginAudioProcessorEditor::~PaulstretchpluginAudioProcessorEditor()
void PaulstretchpluginAudioProcessorEditor::showRenderDialog()
{
auto content = new RenderSettingsComponent(&processor);
content->setSize(content->getWidth(), content->getPreferredHeight());
/*CallOutBox& myBox =*/ CallOutBox::launchAsynchronously(content, m_render_button.getBounds(), this);
auto contentraw = new RenderSettingsComponent(&processor);
contentraw->setSize(contentraw->getWidth(), contentraw->getPreferredHeight());
std::unique_ptr<Component> content(contentraw);
CallOutBox::launchAsynchronously(std::move(content), m_render_button.getBounds(), this);
}
void PaulstretchpluginAudioProcessorEditor::executeModalMenuAction(int menuid, int r)