diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 316602ca44..d65663d1db 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -758,8 +758,8 @@ private: // wxFlexGridSizer //--------------------------------------------------------------------------- -// the bevaiour for resizing wxFlexGridSizer cells in the "non-flexible" -// direction +// values which define the behaviour for resizing wxFlexGridSizer cells in the +// "non-flexible" direction enum wxFlexSizerGrowMode { // don't resize the cells in non-flexible direction at all diff --git a/interface/wx/sizer.h b/interface/wx/sizer.h index b0a4426808..04bf109f31 100644 --- a/interface/wx/sizer.h +++ b/interface/wx/sizer.h @@ -1394,6 +1394,22 @@ public: }; +/** + Values which define the behaviour for resizing wxFlexGridSizer cells in the + "non-flexible" direction. +*/ +enum wxFlexSizerGrowMode +{ + /// Don't resize the cells in non-flexible direction at all. + wxFLEX_GROWMODE_NONE, + + /// Uniformly resize only the specified ones (default). + wxFLEX_GROWMODE_SPECIFIED, + + /// Uniformly resize all cells. + wxFLEX_GROWMODE_ALL +}; + /** @class wxFlexGridSizer