X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58c837a4e67c0996134cc0947691dc09c5f26687..de8c48cf464e67572ba2927dd9f7dfe9e7d3488f:/src/common/imagpnm.cpp diff --git a/src/common/imagpnm.cpp b/src/common/imagpnm.cpp index 700ea8d0b6..3646d49e82 100644 --- a/src/common/imagpnm.cpp +++ b/src/common/imagpnm.cpp @@ -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" @@ -34,9 +33,7 @@ // wxBMPHandler //----------------------------------------------------------------------------- -#if !USE_SHARED_LIBRARIES IMPLEMENT_DYNAMIC_CLASS(wxPNMHandler,wxImageHandler) -#endif #if wxUSE_STREAMS