]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/treectrl/treetest.cpp
fixed make uninstall
[wxWidgets.git] / samples / treectrl / treetest.cpp
index 2eed27fb7d73edc8903d8e311c7d03d249661a5f..e7cb2cb8f5f4a9ed7348165241acd84ddf6ffe42 100644 (file)
@@ -669,7 +669,7 @@ void MyTreeCtrl::CreateImageList(int size)
         }
         else
         {
         }
         else
         {
-            images->Add(wxBitmap(icons[i].ConvertToImage().Rescale(size, size)));
+            images->Add(wxBitmap(wxBitmap(icons[i]).ConvertToImage().Rescale(size, size)));
         }
     }
 #endif // MSW/!MSW
         }
     }
 #endif // MSW/!MSW