From 99445aa64c9a5d341f23c11edeffb0abaa2a3fbe Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 20 Jan 2022 23:11:21 +0000 Subject: [PATCH] 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. --- interface/wx/bmpbndl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface/wx/bmpbndl.h b/interface/wx/bmpbndl.h index a5f9e061c2..e0f1caa558 100644 --- a/interface/wx/bmpbndl.h +++ b/interface/wx/bmpbndl.h @@ -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;