mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Changed the constructor of GenericAudioProcessorEditor to take a reference rather than a pointer, to match all the other AudioProcessorEditor classes. Also tweaked its implementation to resize its components horizontally to fit the width of the parent window
This commit is contained in:
parent
a9a0f6b92f
commit
15567c7150
8 changed files with 90 additions and 76 deletions
|
|
@ -74,7 +74,7 @@ public:
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
AudioProcessorEditor* createEditor() override { return new GenericAudioProcessorEditor (this); }
|
||||
AudioProcessorEditor* createEditor() override { return new GenericAudioProcessorEditor (*this); }
|
||||
bool hasEditor() const override { return true; }
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue