various OS X fixes, mostly related to AU support

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2836 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2008-01-07 20:41:51 +00:00
parent e6dc790374
commit 5284a1efca
16 changed files with 180 additions and 73 deletions

View file

@ -175,13 +175,11 @@ PluginUIWindow::create_audiounit_editor (boost::shared_ptr<PluginInsert> insert)
void
PluginUIWindow::app_activated (bool yn)
{
#if defined(HAVE_AUDIOUNITS) && defined(GTKOSX)
#if defined (HAVE_AUDIOUNITS) && defined(GTKOSX)
if (yn) {
ARDOUR_UI::instance()->the_editor().ensure_float (*this);
show ();
} else {
hide ();
_pluginui->activate ();
}
cerr << "activated ? " << yn << endl;
#endif
}