From: Sylvain Bougnoux Date: Fri, 16 Jul 1999 08:25:31 +0000 (+0000) Subject: check wxUSE_LIBJPEG X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/87c13572ad3b327fb2ac45c689d65ed40f033452 check wxUSE_LIBJPEG git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;