]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagpng.h
Make Smartphone buildable with current flags.
[wxWidgets.git] / include / wx / imagpng.h
index 1bd7247687df66a421eb89c09ccd6b9ccb6a2c3a..1f16de20020ee49cf4fa3c913f034c5a830942a5 100644 (file)
 //-----------------------------------------------------------------------------
 
 #if wxUSE_LIBPNG
+
+#define wxIMAGE_OPTION_PNG_FORMAT    wxT("PngFormat")
+#define wxIMAGE_OPTION_PNG_BITDEPTH  wxT("PngBitDepth")
+
+enum
+{
+    wxPNG_TYPE_COLOUR = 0,
+    wxPNG_TYPE_GREY = 2,
+    wxPNG_TYPE_GREY_RED = 3
+};
+
 class WXDLLEXPORT wxPNGHandler: public wxImageHandler
 {
 public: