X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/427ff66291af2d8dd34ff5ee68c81436997144a1..9a35701127e3e8d2c7fb433d85c7b3954ccbfc9f:/src/mac/carbon/pnghand.cpp diff --git a/src/mac/carbon/pnghand.cpp b/src/mac/carbon/pnghand.cpp index 583cbbab7a..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,4 +904,4 @@ bool wxPNGFileHandler::SaveFile(const wxBitmap *bitmap, const wxString& name, in return FALSE; } - +#endif //wxUSE_LIBPNG