1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-29 02:40:05 +00:00

Demos: Fix some compiler warnings

This commit is contained in:
Tom Poole 2022-12-21 16:55:07 +00:00
parent 57202b360a
commit d8a2095400
3 changed files with 2 additions and 6 deletions

View file

@ -62,7 +62,7 @@ public:
: DocumentWindow (name, Colours::lightgrey, DocumentWindow::allButtons)
{
setUsingNativeTitleBar (true);
setContentOwned (createMainContentComponent(), true);
setContentOwned (new MainContentComponent(), true);
setResizable (false, false);
#if JUCE_IOS || JUCE_ANDROID