mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
Move AudacityApp::MacActivateApp out of WindowMenus.cpp
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
|
||||
#ifdef __WXMAC__
|
||||
|
||||
#include "../AudacityApp.h"
|
||||
#include "../Menus.h"
|
||||
#include "../Project.h"
|
||||
#include "../commands/CommandContext.h"
|
||||
@@ -160,15 +159,6 @@ MenuTable::BaseItemPtr ExtraWindowItems( AudacityProject & )
|
||||
#undef XXO
|
||||
#undef FN
|
||||
|
||||
// One more Objective C++ function for another class scope, kept in this file
|
||||
|
||||
void AudacityApp::MacActivateApp()
|
||||
{
|
||||
id app = [NSApplication sharedApplication];
|
||||
if ( [app respondsToSelector:@selector(activateIgnoringOtherApps:)] )
|
||||
[app activateIgnoringOtherApps:YES];
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
// Not WXMAC. Stub functions.
|
||||
|
Reference in New Issue
Block a user