From ca4131faac12a218b789703d096c6b010929948a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 24 Mar 2022 00:02:53 +0100 Subject: [PATCH] Document wxArtProvider::DoGetSizeHint() This virtual function seems to be meant to be overridden in the derived classes and so part of the public API and hence should be documented. --- interface/wx/artprov.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/interface/wx/artprov.h b/interface/wx/artprov.h index e0a3dc57b7..261a420602 100644 --- a/interface/wx/artprov.h +++ b/interface/wx/artprov.h @@ -440,6 +440,13 @@ public: protected: + /** + Derived art provider classes may override this method to return the + size of the images used by this provider. + + The default implementation returns the result of GetNativeSizeHint(). + */ + virtual wxSize DoGetSizeHint(const wxArtClient& client); /** Derived art provider classes may override this method to create requested art