From cbe21c0cc944f4f8b31be0719e93823d68a68a4b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 2 Jun 2020 18:33:57 +0200 Subject: [PATCH] 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. --- interface/wx/sizer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/wx/sizer.h b/interface/wx/sizer.h index beaea4dfeb..69f6d6a347 100644 --- a/interface/wx/sizer.h +++ b/interface/wx/sizer.h @@ -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);