Recommend SetMinSize() instead of wxSizerItem::SetInitSize()
It's not really clear why do we have this function at all, but SetMinSize() name is more clear and consistent with wxWindow, so prefer using it instead.
This commit is contained in:
@@ -1266,8 +1266,8 @@ public:
|
|||||||
/**
|
/**
|
||||||
Sets the minimum size to be allocated for this item.
|
Sets the minimum size to be allocated for this item.
|
||||||
|
|
||||||
If this item is a window, the @a size is also passed to
|
This is identical to SetMinSize(), prefer to use the other function, as
|
||||||
wxWindow::SetMinSize().
|
its name is more clear.
|
||||||
*/
|
*/
|
||||||
void SetInitSize(int x, int y);
|
void SetInitSize(int x, int y);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user