]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gifdecod.cpp
1. corrected (but the fix is ugly) the multiple def button problem
[wxWidgets.git] / src / common / gifdecod.cpp
index 35c13c01f74b6ea7db0a2a36ee081dcb1431ffc9..e8fcdc7514f06ad0dc13a4b6aa364d94511adfe3 100644 (file)
 #endif
 
 #ifndef WX_PRECOMP
-#  include "wx/setup.h"
+#  include "wx/defs.h"
 #endif
 
-#if wxUSE_STREAMS
+#if wxUSE_STREAMS && wxUSE_GIF
 
 #include <stdlib.h>
 #include <string.h>
-#include "wx/defs.h"
 #include "wx/gifdecod.h"
  
 
@@ -626,4 +625,4 @@ int wxGIFDecoder::ReadGIF()
     return E_OK;
 }
 
-#endif // wxUSE_STREAM
+#endif // wxUSE_STREAMS && wxUSE_GIF