X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d76f4628261a5d80ca18e45b311efa2e79f3d57..5d8f5f875eaf8b32dee93acec5664b4fc9c93ff7:/include/wx/sizer.h diff --git a/include/wx/sizer.h b/include/wx/sizer.h index b5f0665955..754daac250 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -1,12 +1,11 @@ ///////////////////////////////////////////////////////////////////////////// // Name: sizer.h -// Purpose: provide wxSizer class for layouting +// Purpose: provide wxSizer class for layout // Author: Robert Roebling and Robin Dunn // Modified by: Ron Lee // Created: // RCS-ID: $Id$ -// Copyright: (c) Robin Dunn, Dirk Holtwick and Robert Roebling -// (c) 2003, Ron Lee +// Copyright: (c) Robin Dunn, Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -395,9 +394,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 +426,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;