diff --git a/include/wx/mac/carbon/pnghand.h b/include/wx/mac/carbon/pnghand.h index 7f504457d9..d700daad65 100644 --- a/include/wx/mac/carbon/pnghand.h +++ b/include/wx/mac/carbon/pnghand.h @@ -18,7 +18,7 @@ #include "wx/defs.h" -#if wxUSE_PNGLIB +#if wxUSE_LIBPNG class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler {