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
This commit is contained in:
Robin Dunn
2004-06-24 20:21:31 +00:00
parent ba763a45d8
commit 329b045c61

View File

@@ -127,6 +127,11 @@ account.", "");
wxSize , GetMinSize(), wxSize , GetMinSize(),
"Get the minimum size needed for the item.", ""); "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( DocDeclStr(
void , SetInitSize( int x, int y ), void , SetInitSize( int x, int y ),
"", ""); "", "");