From 8dda7c0c48b4896d8ecaa6cd675394b4e40eb0c0 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 2 Apr 2003 14:40:35 +0000 Subject: [PATCH] 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 --- samples/treectrl/treetest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))); } } -- 2.45.2