mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-16 00:34:19 +00:00
More ScopedPointer/unique_ptr compatibility work
This commit is contained in:
parent
48a5fbd333
commit
1a60fa9765
80 changed files with 404 additions and 368 deletions
|
|
@ -200,7 +200,8 @@ Value& TextPropertyComponent::getValue() const
|
|||
|
||||
void TextPropertyComponent::createEditor (int maxNumChars, bool isMultiLine, bool isEditable)
|
||||
{
|
||||
addAndMakeVisible (textEditor = new LabelComp (*this, maxNumChars, isMultiLine, isEditable));
|
||||
textEditor.reset (new LabelComp (*this, maxNumChars, isMultiLine, isEditable));
|
||||
addAndMakeVisible (textEditor.get());
|
||||
|
||||
if (isMultiLine)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue