From: Robin Dunn Date: Thu, 24 Jun 2004 20:21:31 +0000 (+0000) Subject: Optimized sizers to not call CalcMin more often than neccessary X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/329b045c615ff0a40a7bbaf1440a262b1d702d0d Optimized sizers to not call CalcMin more often than neccessary Window items added with wxFIXED_MINSIZE flag will set the window's minsize to its curent size. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_sizers.i b/wxPython/src/_sizers.i index 5476b405c2..6fe840b6ba 100644 --- a/wxPython/src/_sizers.i +++ b/wxPython/src/_sizers.i @@ -127,6 +127,11 @@ account.", ""); wxSize , GetMinSize(), "Get the minimum size needed for the item.", ""); + DocDeclStr( + wxSize , GetMinSizeWithBorder() const, + "Get the minimum size needed for the item with space for the borders +added, if needed.", ""); + DocDeclStr( void , SetInitSize( int x, int y ), "", "");