X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e02afc7a273702ca567431b209415b7bd2b290d0..7482b22003c03f7aa3335aec271b5fcb48e2693d:/src/common/image.cpp diff --git a/src/common/image.cpp b/src/common/image.cpp index e749f5d39d..a5b3a74df6 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -23,7 +23,7 @@ #include "wx/debug.h" #include "wx/log.h" #include "wx/app.h" -#ifdef wxUSE_LIBPNG +#if wxUSE_LIBPNG #include "../png/png.h" #endif #include "wx/filefn.h" @@ -447,7 +447,7 @@ wxImageHandler *wxImage::FindHandler( long bitmapType ) void wxImage::InitStandardHandlers() { AddHandler( new wxBMPHandler ); -#ifdef wxUSE_LIBPNG +#if wxUSE_LIBPNG AddHandler( new wxPNGHandler ); #endif } @@ -489,7 +489,7 @@ bool wxImageHandler::SaveFile( wxImage *WXUNUSED(image), wxOutputStream& WXUNUSE // wxPNGHandler //----------------------------------------------------------------------------- -#ifdef wxUSE_LIBPNG +#if wxUSE_LIBPNG #if !USE_SHARED_LIBRARIES IMPLEMENT_DYNAMIC_CLASS(wxPNGHandler,wxImageHandler)