]> git.saurik.com Git - wxWidgets.git/commitdiff
Added accessors for m_rowHeights, m_colWidths
authorRobin Dunn <robin@alldunn.com>
Wed, 19 Nov 2003 06:42:23 +0000 (06:42 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 19 Nov 2003 06:42:23 +0000 (06:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/sizer.h

index 7f7481fed32afa0df5a2c8303bf8c51fa4d998d5..eeed12325b7e0c587338a281eab2a1c532c0b69a 100644 (file)
@@ -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();