]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bitmap.h
Added wxDataViewListCtrl, use it in the sample
[wxWidgets.git] / include / wx / bitmap.h
index b78cc41a36076c74b4dbf6cb5496e14fe6a7b4c3..f6fd27635ecb72d4d7201d0fbeeb2ede6d761e90 100644 (file)
@@ -161,6 +161,9 @@ public:
     virtual int GetWidth() const = 0;
     virtual int GetDepth() const = 0;
 
+    wxSize GetSize() const
+        { return wxSize(GetWidth(), GetHeight()); }
+
 #if wxUSE_IMAGE
     virtual wxImage ConvertToImage() const = 0;
 #endif // wxUSE_IMAGE