Document wxBitmapBundle::GetBitmap(wxDefaultSize) behaviour

The size parameter is explicitly allowed to be wxDefaultSize here,
meaning to return the bitmap in the default bundle size.
This commit is contained in:
Vadim Zeitlin
2022-01-20 23:11:21 +00:00
parent 1ae0037330
commit 99445aa64c

View File

@@ -315,6 +315,9 @@ public:
cached, avoid calling it for many different sizes if you do use it, as
this will create many bitmaps that will never be deleted and will
consume resources until the application termination.
@param size The size of the bitmap to return, in physical pixels. If
this parameter is wxDefaultSize, default bundle size is used.
*/
wxBitmap GetBitmap(const wxSize& size) const;