From 68561ecea80d176049e1b0e4311864ae1ff63363 Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Tue, 2 Jun 2020 00:07:15 +0100 Subject: [PATCH] Minor doc fixes for wxSizerItem methods Fix typo in GetRatio() documentation and add documentation for SetInitSize(). Closes https://github.com/wxWidgets/wxWidgets/pull/1882 --- interface/wx/sizer.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/interface/wx/sizer.h b/interface/wx/sizer.h index a3ceab8e70..beaea4dfeb 100644 --- a/interface/wx/sizer.h +++ b/interface/wx/sizer.h @@ -1179,7 +1179,7 @@ public: int GetProportion() const; /** - Get the ration item attribute. + Get the ratio item attribute. */ float GetRatio() const; @@ -1264,7 +1264,10 @@ public: void SetId(int id); /** - @todo docme. + 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 SetInitSize(int x, int y);