From 8c353236ac80f4cd9d8833961e95d592cfa78d9d Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sun, 1 Oct 2017 09:38:47 -0700 Subject: [PATCH] Fix ifdef for TGA --- samples/image/canvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) )