X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6319afe332dd1b386cf05902af86d3b5df6692f7..96db102a93ed103a1c757c4445dd71789c2d0054:/src/common/imagpnm.cpp diff --git a/src/common/imagpnm.cpp b/src/common/imagpnm.cpp index 5352da9f4f..28bf08eba3 100644 --- a/src/common/imagpnm.cpp +++ b/src/common/imagpnm.cpp @@ -19,14 +19,16 @@ #pragma hdrstop #endif +#ifndef WX_PRECOMP +# include "wx/setup.h" +#endif + +#if wxUSE_PNM + #include "wx/image.h" #include "wx/log.h" #include "wx/txtstrm.h" -#ifdef __WXMSW__ -#include -#endif - //----------------------------------------------------------------------------- // wxBMPHandler //----------------------------------------------------------------------------- @@ -37,8 +39,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxPNMHandler,wxImageHandler) #if wxUSE_STREAMS -//#include // for cout - void Skip_Comment(wxInputStream &stream) { wxString line; @@ -158,4 +158,4 @@ bool wxPNMHandler::CanRead( wxInputStream& stream ) #endif // wxUSE_STREAMS - +#endif // wxUSE_PNM