X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/36abe9d421ebb33873f012a63fbdb210ff771682..0dd9646ea8b9e6f3a5fa8c42b6a4954cf8e3a48d:/include/wx/image.h?ds=sidebyside 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;