From 329b045c615ff0a40a7bbaf1440a262b1d702d0d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 24 Jun 2004 20:21:31 +0000 Subject: [PATCH] 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 --- wxPython/src/_sizers.i | 5 +++++ 1 file changed, 5 insertions(+) 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 ), "", ""); -- 2.47.2