X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e9b5717cdd0e824dbccdb9d60e2d6db095d13b8..4d7bc8e761ff8a269d066a46ef3bba7c02e3e0e9:/src/common/artprov.cpp?ds=inline diff --git a/src/common/artprov.cpp b/src/common/artprov.cpp index dac5bd30b7..69c6928528 100644 --- a/src/common/artprov.cpp +++ b/src/common/artprov.cpp @@ -231,12 +231,12 @@ wxArtProvider::~wxArtProvider() node; node = node->GetNext()) { bmp = node->GetData()->CreateBitmap(id, client, size); - if ( bmp.Ok() ) + if ( bmp.IsOk() ) break; } wxSize sizeNeeded = size; - if ( !bmp.Ok() ) + if ( !bmp.IsOk() ) { // no bitmap created -- as a fallback, try if we can find desired // icon in a bundle