From 8ceff95c69cf9bd9ff5ab3a4b5689925b8bd6a59 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 7 Jun 2024 13:47:06 +0200 Subject: Merging upstream version 4:24.2.4. Signed-off-by: Daniel Baumann --- vcl/osx/a11yfactory.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vcl/osx/a11yfactory.mm') diff --git a/vcl/osx/a11yfactory.mm b/vcl/osx/a11yfactory.mm index 0783252c7e..27b5ad2d81 100644 --- a/vcl/osx/a11yfactory.mm +++ b/vcl/osx/a11yfactory.mm @@ -140,7 +140,6 @@ static bool enabled = false; } else { aWrapper = [ [ AquaA11yWrapper alloc ] initWithAccessibleContext: rxAccessibleContext ]; } - [ nativeRole release ]; [ aWrapper setActsAsRadioGroup: asRadioGroup ]; #if 0 /* #i102033# NSAccessibility does not seemt to know an equivalent for transient children. @@ -169,8 +168,8 @@ static bool enabled = false; // TODO: when RADIO_BUTTON search for associated RadioGroup-wrapper and delete that as well AquaA11yWrapper * theWrapper = [ AquaA11yFactory wrapperForAccessibleContext: rxAccessibleContext createIfNotExists: NO ]; if ( theWrapper != nil ) { - NSAccessibilityPostNotification( theWrapper, NSAccessibilityUIElementDestroyedNotification ); [ [ AquaA11yFactory allWrapper ] removeObjectForKey: [ AquaA11yFactory keyForAccessibleContext: rxAccessibleContext ] ]; + [ theWrapper setDisposed ]; [ theWrapper release ]; } } -- cgit v1.2.3