Browse Source

MessageManager: Fix build issue introduced in 95f823ff72

v7.0.9
reuk 2 years ago
parent
commit
5e866b6156
No known key found for this signature in database GPG Key ID: FCB43929F012EE5C
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      modules/juce_events/native/juce_mac_MessageManager.mm

+ 3
- 1
modules/juce_events/native/juce_mac_MessageManager.mm View File

@@ -138,8 +138,10 @@ struct AppDelegateClass : public ObjCClass<NSObject>
NSUserNotification* userNotification = notification.userInfo[NSApplicationLaunchUserNotificationKey];
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wnullable-to-nonnull-conversion")
if (userNotification != nil && userNotification.userInfo != nil)
didReceiveRemoteNotification (self, nil, [NSApplication sharedApplication], userNotification.userInfo);
[self application: [NSApplication sharedApplication] didReceiveRemoteNotification: userNotification.userInfo];
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
}
});


Loading…
Cancel
Save