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

Fixed a mac initialisation problem.

This commit is contained in:
Julian Storer 2010-07-12 21:18:14 +01:00
parent 26475b1b77
commit c20daf9740
21 changed files with 165 additions and 230 deletions

View file

@ -68,7 +68,7 @@ public:
TempDialogWindow (const String& title, const Colour& colour, const bool escapeCloses)
: DialogWindow (title, colour, escapeCloses, true)
{
if (JUCEApplication::getInstance() == 0)
if (! JUCEApplication::isStandaloneApp)
setAlwaysOnTop (true); // for a plugin, make it always-on-top because the host windows are often top-level
}