]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagpng.h
fixing warning and compile error against 10.4
[wxWidgets.git] / include / wx / imagpng.h
index 27d0237be940047aa33d4afc22613a8b2ded5b0b..e7ba4646d67053b92518407d3d628ce0e510a81d 100644 (file)
@@ -19,6 +19,7 @@
 #if wxUSE_LIBPNG
 
 #include "wx/image.h"
+#include "wx/versioninfo.h"
 
 #define wxIMAGE_OPTION_PNG_FORMAT    wxT("PngFormat")
 #define wxIMAGE_OPTION_PNG_BITDEPTH  wxT("PngBitDepth")
@@ -46,6 +47,8 @@ public:
         m_mime = wxT("image/png");
     }
 
+    static wxVersionInfo GetLibraryVersionInfo();
+
 #if wxUSE_STREAMS
     virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=true, int index=-1 );
     virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=true );