restore backward compatibility when creating bitmapbundle (#26489) The former implementation (before #25860) also accessed app-local resources, this is now reinstantiated
| ... | ... | @@ -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