]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpng.cpp
Make IsOfClass out-of-line to defend against gcc 3.4.[56] bug:
[wxWidgets.git] / src / common / imagpng.cpp
index 1d8a97046dba72fdef5297b72371ece92662ca70..8261210c817b8192d74f8f7edc7da38de7dc7961 100644 (file)
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-  #pragma hdrstop
-#endif
-
-#ifndef WX_PRECOMP
-  #include "wx/defs.h"
+    #pragma hdrstop
 #endif
 
 #if wxUSE_IMAGE && wxUSE_LIBPNG
 
 #include "wx/imagpng.h"
-#include "wx/bitmap.h"
-#include "wx/debug.h"
-#include "wx/log.h"
-#include "wx/app.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/log.h"
+    #include "wx/app.h"
+    #include "wx/bitmap.h"
+#endif
+
 #include "png.h"
 #include "wx/filefn.h"
 #include "wx/wfstream.h"