diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index 12f0fe2b39..b67890b39e 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -527,6 +527,10 @@ after calling Fit.", ""); "Reset the cached best size value so it will be recalculated the next time it is needed.", ""); + DocDeclStr( + void , CacheBestSize(const wxSize& size) const, + "Cache the best size so it doesn't need to be calculated again, (at least until +some properties of the window change.)", ""); DocDeclStr(