| @@ -243,7 +243,7 @@ void StandaloneFilterWindow::showAudioSettingsDialog() | |||||
| filter->getNumInputChannels(), | filter->getNumInputChannels(), | ||||
| filter->getNumOutputChannels(), | filter->getNumOutputChannels(), | ||||
| filter->getNumOutputChannels(), | filter->getNumOutputChannels(), | ||||
| true, false, true); | |||||
| true, false, true, false); | |||||
| selectorComp.setSize (500, 450); | selectorComp.setSize (500, 450); | ||||
| @@ -60270,7 +60270,7 @@ const Path LookAndFeel::getCrossShape (const float height) | |||||
| return p; | return p; | ||||
| } | } | ||||
| void LookAndFeel::drawTreeviewPlusMinusBox (Graphics& g, int x, int y, int w, int h, bool isPlus, bool isMouseOver) | |||||
| void LookAndFeel::drawTreeviewPlusMinusBox (Graphics& g, int x, int y, int w, int h, bool isPlus, bool /*isMouseOver*/) | |||||
| { | { | ||||
| const int boxSize = ((jmin (16, w, h) << 1) / 3) | 1; | const int boxSize = ((jmin (16, w, h) << 1) / 3) | 1; | ||||
| @@ -70897,6 +70897,11 @@ AlertWindow::~AlertWindow() | |||||
| deleteAllChildren(); | deleteAllChildren(); | ||||
| } | } | ||||
| void AlertWindow::userTriedToCloseWindow() | |||||
| { | |||||
| exitModalState (0); | |||||
| } | |||||
| void AlertWindow::setMessage (const String& message) | void AlertWindow::setMessage (const String& message) | ||||
| { | { | ||||
| const String newMessage (message.substring (0, 2048)); | const String newMessage (message.substring (0, 2048)); | ||||
| @@ -50574,6 +50574,8 @@ protected: | |||||
| void buttonClicked (Button* button); | void buttonClicked (Button* button); | ||||
| /** @internal */ | /** @internal */ | ||||
| void lookAndFeelChanged(); | void lookAndFeelChanged(); | ||||
| /** @internal */ | |||||
| void userTriedToCloseWindow(); | |||||
| private: | private: | ||||
| String text; | String text; | ||||
| @@ -836,7 +836,7 @@ const Path LookAndFeel::getCrossShape (const float height) | |||||
| } | } | ||||
| //============================================================================== | //============================================================================== | ||||
| void LookAndFeel::drawTreeviewPlusMinusBox (Graphics& g, int x, int y, int w, int h, bool isPlus, bool isMouseOver) | |||||
| void LookAndFeel::drawTreeviewPlusMinusBox (Graphics& g, int x, int y, int w, int h, bool isPlus, bool /*isMouseOver*/) | |||||
| { | { | ||||
| const int boxSize = ((jmin (16, w, h) << 1) / 3) | 1; | const int boxSize = ((jmin (16, w, h) << 1) / 3) | 1; | ||||
| @@ -127,6 +127,11 @@ AlertWindow::~AlertWindow() | |||||
| deleteAllChildren(); | deleteAllChildren(); | ||||
| } | } | ||||
| void AlertWindow::userTriedToCloseWindow() | |||||
| { | |||||
| exitModalState (0); | |||||
| } | |||||
| //============================================================================== | //============================================================================== | ||||
| void AlertWindow::setMessage (const String& message) | void AlertWindow::setMessage (const String& message) | ||||
| { | { | ||||
| @@ -337,6 +337,8 @@ protected: | |||||
| void buttonClicked (Button* button); | void buttonClicked (Button* button); | ||||
| /** @internal */ | /** @internal */ | ||||
| void lookAndFeelChanged(); | void lookAndFeelChanged(); | ||||
| /** @internal */ | |||||
| void userTriedToCloseWindow(); | |||||
| private: | private: | ||||
| String text; | String text; | ||||