]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpnm.cpp
fixed status bar drawing broken by previous compilation fix
[wxWidgets.git] / src / common / imagpnm.cpp
index 3c34cbc82236a10ee4bfc8df87531ec1fe943e29..d5ca1fae4ddfa7a2e6075188680dd9fb297a9a7e 100644 (file)
@@ -7,10 +7,9 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-/*
-   We don't put pragma implement in this file because it is already present in
-   src/common/image.cpp
-*/
+#ifdef __GNUG__
+#pragma implementation "imagpnm.h"
+#endif
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
@@ -23,9 +22,9 @@
 #  include "wx/setup.h"
 #endif
 
-#if wxUSE_PNM
+#if wxUSE_IMAGE && wxUSE_PNM
 
-#include "wx/image.h"
+#include "wx/imagpnm.h"
 #include "wx/log.h"
 #include "wx/intl.h"
 #include "wx/txtstrm.h"