|
|
@@ -132,7 +132,7 @@ public: |
|
|
|
currentDemoId (0),
|
|
|
|
demoSourceCodeText (0)
|
|
|
|
{
|
|
|
|
invokeDirectly (showAudio, true);
|
|
|
|
invokeDirectly (showPathsAndTransforms, true);
|
|
|
|
}
|
|
|
|
|
|
|
|
~ContentComp()
|
|
|
@@ -581,6 +581,10 @@ MainDemoWindow::~MainDemoWindow() |
|
|
|
// have to switch this off before deleting the content comp..
|
|
|
|
setMenuBar (0);
|
|
|
|
|
|
|
|
#if JUCE_MAC // ..and also the main bar if we're using that on a Mac...
|
|
|
|
MenuBarModel::setMacMainMenu (0);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// setting our content component to 0 will delete the current one, and
|
|
|
|
// that will in turn delete all its child components. You don't always
|
|
|
|
// have to do this explicitly, because the base class's destructor will
|
|
|
|