X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c2dd16f5546ddfe754c671e0e7cc4e5bc561b4a..bda4b4c6849c375679b39a55e257dedf39a8ba90:/wxPython/src/_image.i

diff --git a/wxPython/src/_image.i b/wxPython/src/_image.i
index 04650a8d31..6b315bc824 100644
--- a/wxPython/src/_image.i
+++ b/wxPython/src/_image.i
@@ -232,6 +232,7 @@ public:
 };
 
 
+
 class wxImage : public wxObject {
 public:
     %typemap(out) wxImage*;    // turn off this typemap
@@ -1046,8 +1047,8 @@ range -1.0..1.0 where -1.0 is -360 degrees and 1.0 is 360 degrees", "");
     %property(MaskBlue, GetMaskBlue, doc="See `GetMaskBlue`");
     %property(MaskGreen, GetMaskGreen, doc="See `GetMaskGreen`");
     %property(MaskRed, GetMaskRed, doc="See `GetMaskRed`");
-    %property(Size, GetSize, doc="See `GetSize`");
     %property(Width, GetWidth, doc="See `GetWidth`");
+    
 };
 
 
@@ -1262,7 +1263,12 @@ public:
 };
 
 
-#if wxUSE_IFF
+
+#if 0
+%{
+#include <wx/imagiff.h>
+%}
+
 DocStr(wxIFFHandler,
 "A `wx.ImageHandler` for IFF image files.", "");
 class wxIFFHandler : public wxImageHandler {
@@ -1271,6 +1277,19 @@ public:
 };
 #endif
 
+
+%{
+#include <wx/imagtga.h>
+%}
+
+DocStr(wxTGAHandler,
+"A `wx.ImageHandler` for TGA image files.", "");
+class wxTGAHandler : public wxImageHandler {
+public:
+    wxTGAHandler();
+};
+
+
 //---------------------------------------------------------------------------
 
 %{