document wxSizerItem::SetMinSize()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-03-24 01:40:25 +00:00
parent 8d483c9b75
commit 7e927914ef

View File

@@ -166,6 +166,19 @@ public:
*/ */
wxSize GetMinSize() const; 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. 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 Set an item's minimum size by window, sizer, or position.
found recursively
in the sizer's descendants. This function enables an application to set the The item will be found recursively in the sizer's descendants. This
size of an item function enables an application to set the size of an item after
after initial creation. initial creation.
@see wxSizerItem::SetMinSize()
*/ */
void SetItemMinSize(wxWindow* window, int width, int height); void SetItemMinSize(wxWindow* window, int width, int height);
void SetItemMinSize(wxSizer* sizer, int width, int height); void SetItemMinSize(wxSizer* sizer, int width, int height);