diff --git a/indra/llwindow/llwindowmacosx-objc.mm b/indra/llwindow/llwindowmacosx-objc.mm index 8dadf65bae41905db8af09e645fa9bad8dc940c9..995f42b2629e8f3456a71279b5358a166e6f82a1 100644 --- a/indra/llwindow/llwindowmacosx-objc.mm +++ b/indra/llwindow/llwindowmacosx-objc.mm @@ -391,7 +391,7 @@ void allowDirectMarkedTextInput(bool allow, GLViewRef glView) NSWindowRef getMainAppWindow() { - LLNSWindow *winRef = [(LLAppDelegate*)[[NSApplication sharedApplication] delegate] window]; + LLNSWindow *winRef = [(LLAppDelegate*)[[LLApplication sharedApplication] delegate] window]; [winRef setAcceptsMouseMovedEvents:TRUE]; return winRef; @@ -404,7 +404,7 @@ void makeFirstResponder(NSWindowRef window, GLViewRef view) void requestUserAttention() { - [[NSApplication sharedApplication] requestUserAttention:NSInformationalRequest]; + [[LLApplication sharedApplication] requestUserAttention:NSInformationalRequest]; } long showAlert(std::string text, std::string title, int type) diff --git a/indra/newview/SecondLife.nib b/indra/newview/SecondLife.nib index c4ddca50dc15061906b29abb4e547aa17d039b45..857a40ecae77e2163193de5864b582c09fee383b 100644 Binary files a/indra/newview/SecondLife.nib and b/indra/newview/SecondLife.nib differ diff --git a/indra/newview/SecondLife.xib b/indra/newview/SecondLife.xib index eef8fb0cd5a023e8e825fac004b4a8415cd4b74b..d58e6c7284457f0de2515c0e496ba24d9e8269ef 100644 --- a/indra/newview/SecondLife.xib +++ b/indra/newview/SecondLife.xib @@ -6,13 +6,13 @@ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> <objects> - <customObject id="-2" userLabel="File's Owner" customClass="NSApplication"> + <customObject id="-2" userLabel="File's Owner" customClass="LLApplication"> <connections> <outlet property="delegate" destination="824" id="845"/> </connections> </customObject> <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> - <customObject id="-3" userLabel="Application"/> + <customObject id="-3" userLabel="Application" customClass="LLApplication"/> <menu title="Main Menu" systemMenu="main" id="29" userLabel="Main Menu"> <items> <menuItem title="Alchemy" id="56"> diff --git a/indra/newview/llappdelegate-objc.mm b/indra/newview/llappdelegate-objc.mm index 1b7e2761d63c510c6705b5036e5ad58e7f628a87..b30c20088d2a3dfecc1e91ed63bf4005696bcb59 100644 --- a/indra/newview/llappdelegate-objc.mm +++ b/indra/newview/llappdelegate-objc.mm @@ -151,7 +151,7 @@ // Once pumpMainLoop() reports that we're done, cancel frameTimer: // stop the repetitive calls. [frameTimer release]; - [[NSApplication sharedApplication] terminate:self]; + [[LLApplication sharedApplication] terminate:self]; } }