X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/36abe9d421ebb33873f012a63fbdb210ff771682..a54b285e7c829b885f78d4b8a96dd2e169a693d7:/include/wx/image.h diff --git a/include/wx/image.h b/include/wx/image.h index ffb1e3777b..84dcd3934d 100644 --- a/include/wx/image.h +++ b/include/wx/image.h @@ -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;