X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cbea3ec6ae2cd8c8d477c6f04a09ca8a1fa1ab96..ea2a647d388cd9952d2eb1415f038e0ab15151b6:/interface/wx/bitmap.h diff --git a/interface/wx/bitmap.h b/interface/wx/bitmap.h index ef1996453c..3d1ec2000e 100644 --- a/interface/wx/bitmap.h +++ b/interface/wx/bitmap.h @@ -23,6 +23,11 @@ wxBitmapHandler and add the handler using wxBitmap::AddHandler() in your application initialisation. + Note that all wxBitmapHandlers provided by wxWidgets are part of the + @ref page_libs_wxcore library. + For details about the default handlers, please see the note in the + wxBitmap class documentation. + @library{wxcore} @category{misc} @@ -435,6 +440,8 @@ public: /** Gets the height of the bitmap in pixels. + + @see GetWidth(), GetSize() */ virtual int GetHeight() const; @@ -460,10 +467,19 @@ public: */ virtual wxBitmap GetSubBitmap(const wxRect& rect) const; + /** + Returns the size of the bitmap in pixels. + + @since 2.9.0 + + @see GetHeight(), GetWidth() + */ + wxSize GetSize() const; + /** Gets the width of the bitmap in pixels. - @see GetHeight() + @see GetHeight(), GetSize() */ virtual int GetWidth() const; @@ -492,7 +508,7 @@ public: /** Returns @true if bitmap data is present. */ - bool IsOk() const; + virtual bool IsOk() const; /** Loads a bitmap from a file or resource.