[Git][wxwidgets/wxwidgets][master] Fix showing extra controls in wxFileDialog under macOS

0 views
Skip to first unread message

Vadim Zeitlin (@_VZ_)

unread,
Aug 22, 2025, 9:12:27 AMAug 22
to wx-commi...@googlegroups.com

Vadim Zeitlin pushed to branch master at wxWidgets / wxWidgets

Commits:

  • 426f745c
    by jey5nd6 at 2025-08-22T14:48:43+02:00
    Fix showing extra controls in wxFileDialog under macOS
    
    These controls were not shown due to a forgotten colon in the test for
    setAccessoryViewDisclosed support added in e765756555 (OSX file dialog
    extensions (#2592), 2021-11-26).
    
    Fix this simply by adding the colon, which is part of the method name.
    
    Closes #25717.
    

1 changed file:

Changes:

  • src/osx/cocoa/filedlg.mm
    ... ... @@ -513,7 +513,7 @@ void wxFileDialog::SetupExtraControls(WXWindow nativeWindow)
    513 513
             [panel setAccessoryView:accView];
    
    514 514
     
    
    515 515
             wxCLANG_WARNING_SUPPRESS(undeclared-selector)
    
    516
    -        if ([panel respondsToSelector:@selector(setAccessoryViewDisclosed)])
    
    516
    +        if ([panel respondsToSelector:@selector(setAccessoryViewDisclosed:)])
    
    517 517
             {
    
    518 518
                 [(id)panel setAccessoryViewDisclosed:YES];
    
    519 519
             }
    


View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help Notification message regarding https://gitlab.com/wxwidgets/wxwidgets/-/commit/426f745c6b069e9cd71a47a2272f5d6e07a9c6df at 1755868343

Reply all
Reply to author
Forward
0 new messages