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:
Vadim Zeitlin
2020-06-02 18:33:57 +02:00
parent 68561ecea8
commit cbe21c0cc9

View File

@@ -1266,8 +1266,8 @@ public:
/**
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().
This is identical to SetMinSize(), prefer to use the other function, as
its name is more clear.
*/
void SetInitSize(int x, int y);