From fc1fcd0edcc2b5840f3691f9454d3c990d8cad0f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 19 Nov 2003 06:42:23 +0000 Subject: [PATCH] Added accessors for m_rowHeights, m_colWidths git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/sizer.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); -- 2.45.2