X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0004982c831f56c65c390fb617711ff52595c2f3..9a6fda2288944cf3a8fc9ba1d33746b903daff60:/interface/wx/bitmap.h diff --git a/interface/wx/bitmap.h b/interface/wx/bitmap.h index 07503809e9..b0a215917e 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} @@ -431,10 +436,12 @@ public: @see wxBitmapHandler */ - static wxList GetHandlers(); + static wxList& GetHandlers(); /** 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;