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:
parent
f5d7ba7593
commit
a8f84bcded
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user