X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e9b5717cdd0e824dbccdb9d60e2d6db095d13b8..2e14066008229145e2da7b9f05a478ce38631f83:/src/common/artstd.cpp?ds=inline diff --git a/src/common/artstd.cpp b/src/common/artstd.cpp index 49fbe51d33..542247d4ae 100644 --- a/src/common/artstd.cpp +++ b/src/common/artstd.cpp @@ -207,7 +207,7 @@ wxBitmap wxDefaultArtProvider::CreateBitmap(const wxArtID& id, wxBitmap bmp = wxDefaultArtProvider_CreateBitmap(id); #if wxUSE_IMAGE && (!defined(__WXMSW__) || wxUSE_WXDIB) - if (bmp.Ok()) + if (bmp.IsOk()) { // fit into transparent image with desired size hint from the client if (reqSize == wxDefaultSize)