X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7cfad3ad6bc8080b33a0878a14b1c02ca33fe3e..e0dec8753abaf97e006ea1185bfb6775b28df0a8:/samples/artprov/artbrows.cpp diff --git a/samples/artprov/artbrows.cpp b/samples/artprov/artbrows.cpp index 596522bfda..e58377e3da 100644 --- a/samples/artprov/artbrows.cpp +++ b/samples/artprov/artbrows.cpp @@ -34,7 +34,7 @@ { \ int ind; \ wxIcon icon = wxArtProvider::GetIcon(id, client, size); \ - if ( icon.Ok() ) \ + if ( icon.IsOk() ) \ ind = images->Add(icon); \ else \ ind = 0; \