]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/artprov/artbrows.cpp
Fix return value of wxGenericTreeCtrl::FindItem().
[wxWidgets.git] / samples / artprov / artbrows.cpp
index 596522bfdac88261fca7833536b76a384be411fa..e58377e3dae03ce812cf8c0be9b28eda4072cf07 100644 (file)
@@ -34,7 +34,7 @@
     { \
         int ind; \
         wxIcon icon = wxArtProvider::GetIcon(id, client, size); \
     { \
         int ind; \
         wxIcon icon = wxArtProvider::GetIcon(id, client, size); \
-        if ( icon.Ok() ) \
+        if ( icon.IsOk() ) \
             ind = images->Add(icon); \
         else \
             ind = 0; \
             ind = images->Add(icon); \
         else \
             ind = 0; \