]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_image.i
Added missing Detach method wrapper
[wxWidgets.git] / wxPython / src / _image.i
index 1655963fc48b909095f1a2907a028fc729d74bf7..08d530f0eb539bf92b0931aeb0db98d5c74ec491 100644 (file)
@@ -161,6 +161,13 @@ public:
     int GetWidth();
     int GetHeight();
 
+    %extend {
+        wxSize GetSize() {
+            wxSize size(self->GetWidth(), self->GetHeight());
+            return size;
+        }
+    }
+
     wxImage GetSubImage(const wxRect& rect);
     wxImage Copy();
     void Paste( const wxImage &image, int x, int y );