From: Robin Dunn Date: Wed, 19 Nov 2003 06:42:23 +0000 (+0000) Subject: Added accessors for m_rowHeights, m_colWidths X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fc1fcd0edcc2b5840f3691f9454d3c990d8cad0f Added accessors for m_rowHeights, m_colWidths git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 7f7481fed3..eeed12325b 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -413,7 +413,10 @@ public: void SetNonFlexibleGrowMode(wxFlexSizerGrowMode mode) { m_growMode = mode; } wxFlexSizerGrowMode GetNonFlexibleGrowMode() const { return m_growMode; } - + // Read-only access to the row heights and col widths arrays + const wxArrayInt& GetRowHeights() const { return m_rowHeights; } + const wxArrayInt& GetColWidths() const { return m_colWidths; } + // implementation virtual void RecalcSizes(); virtual wxSize CalcMin();