From 87c13572ad3b327fb2ac45c689d65ed40f033452 Mon Sep 17 00:00:00 2001 From: Sylvain Bougnoux Date: Fri, 16 Jul 1999 08:25:31 +0000 Subject: [PATCH] check wxUSE_LIBJPEG git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3019 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 04c4682fcf..579094aec0 100644 --- a/samples/treectrl/treetest.cpp +++ b/samples/treectrl/treetest.cpp @@ -380,7 +380,7 @@ MyTreeCtrl::MyTreeCtrl(wxWindow *parent, const wxWindowID id, long style) : wxTreeCtrl(parent, id, pos, size, style) { -#if USE_TR_HAS_VARIABLE_ROW_HIGHT +#if (USE_TR_HAS_VARIABLE_ROW_HIGHT && wxUSE_LIBJPEG) wxImage::AddHandler(new wxJPEGHandler); wxImage image; -- 2.47.2