]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_image.i
added inline plural form of wxGetTranslation to wxUSE_INTL=0 case for use with non...
[wxWidgets.git] / wxPython / src / _image.i
index b50691f280a068a3540c412b71cfa2db96304cfc..3f568e5cb6cfa8931ff618411d13afb611389261 100644 (file)
@@ -27,7 +27,6 @@ enum {
     wxIMAGE_ALPHA_OPAQUE
 };
 
-
 // Constants for wxImage::Scale() for determining the level of quality
 enum
 {
@@ -1141,13 +1140,21 @@ MAKE_CONST_WXSTRING(IMAGE_OPTION_RESOLUTIONY);
 MAKE_CONST_WXSTRING(IMAGE_OPTION_RESOLUTIONUNIT);
 MAKE_CONST_WXSTRING(IMAGE_OPTION_QUALITY);
 
-enum
+// constants used with wxIMAGE_OPTION_RESOLUTIONUNIT
+enum wxImageResolution
 {
+    // Resolution not specified
+    wxIMAGE_RESOLUTION_NONE = 0,
+
+    // Resolution specified in inches
     wxIMAGE_RESOLUTION_INCHES = 1,
+
+    // Resolution specified in centimeters
     wxIMAGE_RESOLUTION_CM = 2
 };
 
 
+
 MAKE_CONST_WXSTRING(IMAGE_OPTION_BITSPERSAMPLE);
 MAKE_CONST_WXSTRING(IMAGE_OPTION_SAMPLESPERPIXEL); 
 MAKE_CONST_WXSTRING(IMAGE_OPTION_COMPRESSION);
@@ -1278,7 +1285,6 @@ public:
 #endif
 
 
-#if 0
 %{
 #include <wx/imagtga.h>
 %}
@@ -1289,7 +1295,6 @@ class wxTGAHandler : public wxImageHandler {
 public:
     wxTGAHandler();
 };
-#endif
 
 
 //---------------------------------------------------------------------------