X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f671eebc9595a81ef2380bb7d9541bf401ce700..3569e0d042fa09417c2777b3da833a1df5096e06:/include/wx/sizer.h?ds=sidebyside diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 95509ce990..f07d6f5886 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -724,8 +724,14 @@ private: class WXDLLIMPEXP_CORE wxGridSizer: public wxSizer { public: + // ctors specifying the number of columns only: number of rows will be + // deduced automatically depending on the number of sizer elements + wxGridSizer( int cols, int vgap, int hgap ); + wxGridSizer( int cols, const wxSize& gap = wxSize(0, 0) ); + + // ctors specifying the number of rows and columns + wxGridSizer( int rows, int cols, const wxSize& gap ); wxGridSizer( int rows, int cols, int vgap, int hgap ); - wxGridSizer( int cols, int vgap = 0, int hgap = 0 ); virtual wxSizerItem *Insert(size_t index, wxSizerItem *item);