X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/36abe9d421ebb33873f012a63fbdb210ff771682..02cecc4dc2c07b3e4b109edf44c4c87a2fed87d9:/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;