| @@ -343,9 +343,9 @@ void AlertWindow::updateLayout (const bool onlyIncreaseSize) | |||||
| const int titleH = 24; | const int titleH = 24; | ||||
| const int iconWidth = 80; | const int iconWidth = 80; | ||||
| LookAndFeel& lookAndFeel = getLookAndFeel(); | |||||
| LookAndFeel& lf = getLookAndFeel(); | |||||
| const Font messageFont (lookAndFeel.getAlertWindowMessageFont()); | |||||
| const Font messageFont (lf.getAlertWindowMessageFont()); | |||||
| const int wid = jmax (messageFont.getStringWidth (text), | const int wid = jmax (messageFont.getStringWidth (text), | ||||
| messageFont.getStringWidth (getName())); | messageFont.getStringWidth (getName())); | ||||
| @@ -357,7 +357,7 @@ void AlertWindow::updateLayout (const bool onlyIncreaseSize) | |||||
| int iconSpace = 0; | int iconSpace = 0; | ||||
| AttributedString attributedText; | AttributedString attributedText; | ||||
| attributedText.append (getName(), lookAndFeel.getAlertWindowTitleFont()); | |||||
| attributedText.append (getName(), lf.getAlertWindowTitleFont()); | |||||
| if (text.isNotEmpty()) | if (text.isNotEmpty()) | ||||
| attributedText.append ("\n\n" + text, messageFont); | attributedText.append ("\n\n" + text, messageFont); | ||||