[Git][wxwidgets/wxwidgets][master] restore backward compatibility when creating bitmapbundle (#26489)

2 views
Skip to first unread message

Vadim Zeitlin (@_VZ_)

unread,
May 25, 2026, 2:58:22 PM (13 days ago) May 25
to wx-commi...@googlegroups.com

Vadim Zeitlin pushed to branch master at wxWidgets / wxWidgets

Commits:

  • 2eea294c
    by Stefan Csomor at 2026-05-25T20:56:35+02:00
    restore backward compatibility when creating bitmapbundle (#26489)
    
    The former implementation (before #25860) also accessed app-local resources, this is now reinstantiated

1 changed file:

Changes:

  • src/osx/artmac.cpp
    ... ... @@ -162,6 +162,10 @@ static wxBitmapBundle wxMacArtProvider_CreateBitmapBundle(const wxArtID& id, con
    162 162
     
    
    163 163
     wxBitmapBundle wxMacArtProvider::CreateBitmapBundle(const wxArtID& id, const wxArtClient& client, const wxSize& size )
    
    164 164
     {
    
    165
    +    wxBitmapBundle bundle = wxOSXCreateSystemBitmapBundle(id, size);
    
    166
    +    if ( bundle.IsOk() )
    
    167
    +        return bundle;
    
    168
    +
    
    165 169
         // On the Mac folders in lists are always drawn closed, so if an open
    
    166 170
         // folder icon is asked for we will ask for a closed one in its place
    
    167 171
         if ( client == wxART_LIST && id == wxART_FOLDER_OPEN )
    


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/2eea294c22b309c16c582d026034457e1770cb74 at 1779735498

Reply all
Reply to author
Forward
0 new messages