Applied [ 703017 ] TreeCtrl sample build fails when using generic control

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-04-02 14:40:35 +00:00
parent 3dbebf5144
commit 8686744068
2 changed files with 2 additions and 2 deletions

View File

@@ -696,7 +696,7 @@ void MyTreeCtrl::CreateButtonsImageList(int size)
} }
else else
{ {
images->Add(wxBitmap(icons[i].ConvertToImage().Rescale(size, size))); images->Add(wxBitmap(wxBitmap(icons[i]).ConvertToImage().Rescale(size, size)));
} }
} }

View File

@@ -9,7 +9,7 @@
// Licence: wxWindows license // Licence: wxWindows license
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#define USE_GENERIC_TREECTRL 0 #define USE_GENERIC_TREECTRL 1
#if USE_GENERIC_TREECTRL #if USE_GENERIC_TREECTRL
#include "wx/generic/treectlg.h" #include "wx/generic/treectlg.h"