Minor doc fixes for wxSizerItem methods

Fix typo in GetRatio() documentation and add documentation for
SetInitSize().

Closes https://github.com/wxWidgets/wxWidgets/pull/1882
This commit is contained in:
Ian McInerney
2020-06-02 00:07:15 +01:00
committed by Vadim Zeitlin
parent d56d676450
commit 68561ecea8

View File

@@ -1179,7 +1179,7 @@ public:
int GetProportion() const; int GetProportion() const;
/** /**
Get the ration item attribute. Get the ratio item attribute.
*/ */
float GetRatio() const; float GetRatio() const;
@@ -1264,7 +1264,10 @@ public:
void SetId(int id); 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); void SetInitSize(int x, int y);