From 7e927914ef421ab856ef1733be610f63fad07099 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 24 Mar 2008 01:40:25 +0000 Subject: [PATCH] document wxSizerItem::SetMinSize() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/sizer.h | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/interface/sizer.h b/interface/sizer.h index f000b89be9..8d130f852e 100644 --- a/interface/sizer.h +++ b/interface/sizer.h @@ -166,6 +166,19 @@ public: */ wxSize GetMinSize() const; + /** + Sets the minimum size to be allocated for this item. + + If this item is a window, the @a size is also passed to + wxWindow::SetMinSize(). + */ + void SetMinSize(const wxSize& size); + + /** + @overload + */ + void SetMinSize(int x, int y); + /** What is the current position of the item, as set in the last Layout. */ @@ -1287,11 +1300,13 @@ public: //@{ /** - Set an item's minimum size by window, sizer, or position. The item will be - found recursively - in the sizer's descendants. This function enables an application to set the - size of an item - after initial creation. + Set an item's minimum size by window, sizer, or position. + + The item will be found recursively in the sizer's descendants. This + function enables an application to set the size of an item after + initial creation. + + @see wxSizerItem::SetMinSize() */ void SetItemMinSize(wxWindow* window, int width, int height); void SetItemMinSize(wxSizer* sizer, int width, int height);