From: Julian Smart Date: Wed, 2 Apr 2003 14:40:35 +0000 (+0000) Subject: Applied [ 703017 ] TreeCtrl sample build fails when using generic control X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8dda7c0c48b4896d8ecaa6cd675394b4e40eb0c0 Applied [ 703017 ] TreeCtrl sample build fails when using generic control git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/treectrl/treetest.cpp b/samples/treectrl/treetest.cpp index 93b1226798..8731c60346 100644 --- a/samples/treectrl/treetest.cpp +++ b/samples/treectrl/treetest.cpp @@ -696,7 +696,7 @@ void MyTreeCtrl::CreateButtonsImageList(int size) } else { - images->Add(wxBitmap(icons[i].ConvertToImage().Rescale(size, size))); + images->Add(wxBitmap(wxBitmap(icons[i]).ConvertToImage().Rescale(size, size))); } }