]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/image.h
added helper Is{Col,Row}Shown()
[wxWidgets.git] / include / wx / image.h
index ffb1e3777b9025115efecc1a81c1bab59144a9e3..84dcd3934d0ce72654e6672223d5529343e576a9 100644 (file)
@@ -361,6 +361,9 @@ public:
     int GetWidth() const;
     int GetHeight() const;
 
+    wxSize GetSize() const
+        { return wxSize(GetWidth(), GetHeight()); }
+
     // Gets the type of image found by LoadFile or specified with SaveFile
     wxBitmapType GetType() const;