]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpnm.cpp
fix for assert when setting tooltip for a readonly combo
[wxWidgets.git] / src / common / imagpnm.cpp
index 3c34cbc82236a10ee4bfc8df87531ec1fe943e29..3646d49e8205beff3b0eb7bbabe1fe626e07fdab 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"
@@ -25,7 +24,7 @@
 
 #if wxUSE_PNM
 
-#include "wx/image.h"
+#include "wx/imagpnm.h"
 #include "wx/log.h"
 #include "wx/intl.h"
 #include "wx/txtstrm.h"