]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_image.cpp
Unicode build fix
[wxWidgets.git] / src / html / m_image.cpp
index fd4ff2485563b930d07dcd0c9886412223ab5744..05fe9e123b04c3fcbc1e552db0fc70eb9db0276f 100644 (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 )
                 {