- wxWindow::DoGetBestSize() that a class needs to override if it wants to calculate
- its own best size based on its content.
+ wxWindow::DoGetBestSize() that a class can override if it wants to calculate
+ its own best size based on its content, however notice that usually it is
+ more convenient to override DoGetBestClientSize(), see below.
+
+@li @b "Best Client Size": this is simply the client size corresponding to the
+ best window size. When the fitting size for the given contents is computed,
+ it will usually be the client size and the size of the borders needs to be
+ added to obtain the full best size. For this reason, it's preferable to
+ override DoGetBestClientSize() and let DoGetBestSize() compute the full
+ best size.