X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..3e17bc3f7333addb73a2ba6fee52d19d47d77360:/src/mac/carbon/pnghand.cpp?ds=sidebyside diff --git a/src/mac/carbon/pnghand.cpp b/src/mac/carbon/pnghand.cpp index f25141d7e9..9ac29da3c2 100644 --- a/src/mac/carbon/pnghand.cpp +++ b/src/mac/carbon/pnghand.cpp @@ -21,6 +21,8 @@ # pragma hdrstop #endif +#if wxUSE_LIBPNG + #include #include #include @@ -902,3 +904,4 @@ bool wxPNGFileHandler::SaveFile(const wxBitmap *bitmap, const wxString& name, in return FALSE; } +#endif //wxUSE_LIBPNG