moved declaration of variable only used if wxUSE_GIF inside #if wxUSE_GIF block

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2005-07-26 23:33:27 +00:00
parent f5d7ba7593
commit a8f84bcded

View File

@ -372,9 +372,8 @@ wxHtmlImageCell::wxHtmlImageCell(wxWindow *window, wxFSFile *input,
if ( s )
{
bool readImg = true;
#if wxUSE_GIF && wxUSE_TIMER
bool readImg = true;
if ( (input->GetLocation().Matches(wxT("*.gif")) ||
input->GetLocation().Matches(wxT("*.GIF"))) && m_window )
{