]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/imagjpeg.h
implement wxBitmapButton::DoGetBestSize
[wxWidgets.git] / include / wx / imagjpeg.h
index 70e9541d594400588f862460c2be2c08d1da3141..07a1095c1bea4e39d2e1e139b842d53ec8aaacac 100644 (file)
 
 #include "wx/image.h"
 
+// defines for wxImage::SetOption
+#define wxIMAGE_OPTION_RESOLUTION            wxString(_T("Resolution"))
+#define wxIMAGE_OPTION_RESOLUTIONUNIT        wxString(_T("ResolutionUnit"))
+
+enum
+{
+    wxIMAGE_RESOLUTION_INCHES = 1,
+    wxIMAGE_RESOLUTION_CM = 2
+};
+
 //-----------------------------------------------------------------------------
 // wxJPEGHandler
 //-----------------------------------------------------------------------------