diff --git a/samples/image/canvas.cpp b/samples/image/canvas.cpp index cba7fc4a56..f809f2a724 100644 --- a/samples/image/canvas.cpp +++ b/samples/image/canvas.cpp @@ -253,7 +253,7 @@ MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id, } #endif -#if wxUSE_LIBTIFF +#if wxUSE_TGA image.Destroy(); if ( !image.LoadFile( dir + wxT("horse.tga"), wxBITMAP_TYPE_TGA ) )