]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpnm.cpp
don't annoy the user by repeating the question which had been already answered (and...
[wxWidgets.git] / src / common / imagpnm.cpp
index 3646d49e8205beff3b0eb7bbabe1fe626e07fdab..d5ca1fae4ddfa7a2e6075188680dd9fb297a9a7e 100644 (file)
@@ -22,7 +22,7 @@
 #  include "wx/setup.h"
 #endif
 
 #  include "wx/setup.h"
 #endif
 
-#if wxUSE_PNM
+#if wxUSE_IMAGE && wxUSE_PNM
 
 #include "wx/imagpnm.h"
 #include "wx/log.h"
 
 #include "wx/imagpnm.h"
 #include "wx/log.h"