]> git.saurik.com Git - wxWidgets.git/commitdiff
check wxUSE_LIBJPEG
authorSylvain Bougnoux <bougnoux@imra-europe.com>
Fri, 16 Jul 1999 08:25:31 +0000 (08:25 +0000)
committerSylvain Bougnoux <bougnoux@imra-europe.com>
Fri, 16 Jul 1999 08:25:31 +0000 (08:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/treectrl/treetest.cpp

index 04c4682fcff76fc15b11349158f7aee12da9dafb..579094aec02c338c030843785f6fc6a933dd1405 100644 (file)
@@ -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;