]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sizer.h
significant API changes: wxVideoMode and methods using it added, GetDepth() and IsCol...
[wxWidgets.git] / include / wx / sizer.h
index b5f06659551fd8c880b0037d09f3644f3e747895..314d374d9f6d7afb6a316376fe95a8ece031d466 100644 (file)
@@ -395,9 +395,9 @@ public:
 
     // set the rows/columns which will grow (the others will remain of the
     // constant initial size)
-    void AddGrowableRow( size_t idx );
+    void AddGrowableRow( size_t idx, int proportion = 0 );
     void RemoveGrowableRow( size_t idx );
-    void AddGrowableCol( size_t idx );
+    void AddGrowableCol( size_t idx, int proportion = 0 );
     void RemoveGrowableCol( size_t idx );
 
 
@@ -427,6 +427,10 @@ protected:
     wxArrayInt  m_growableRows,
                 m_growableCols;
 
+    // proportion values of the corresponding growable rows and columns
+    wxArrayInt  m_growableRowsProportions,
+                m_growableColsProportions;
+
     // parameters describing whether the growable cells should be resized in
     // both directions or only one
     int m_flexDirection;