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}
@see wxBitmapHandler
*/
- static wxList GetHandlers();
+ static wxList& GetHandlers();
/**
Gets the height of the bitmap in pixels.
+
+ @see GetWidth(), GetSize()
*/
virtual int GetHeight() const;
*/
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;