From 52ceb90e10fde0dc460ea1b200bd84fac1d1dd5c Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sat, 31 Jan 2009 20:10:13 +0000 Subject: [PATCH] fix typo; document wxFlexSizerGrowMode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/sizer.h | 4 ++-- interface/wx/sizer.h | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) 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 -- 2.47.2