added proportion parameter to wxFlexGridSizer::AddGrowableRow/Col()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user