From 7aab7176f17f06d41011d78dc462e47672357859 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 14 Nov 2009 21:50:50 +0000 Subject: [PATCH] Restore ability to create wxFlexGridSizer with 2 params (number of columns and vertical gap) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/sizer.h | 2 +- interface/wx/sizer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/sizer.h b/include/wx/sizer.h index f4b0b4ba8a..aa14476d05 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -827,7 +827,7 @@ class WXDLLIMPEXP_CORE wxFlexGridSizer: public wxGridSizer public: // ctors specifying the number of columns only: number of rows will be // deduced automatically depending on the number of sizer elements - wxFlexGridSizer( int cols, int vgap, int hgap ); + wxFlexGridSizer( int cols, int vgap, int hgap = 0); wxFlexGridSizer( int cols, const wxSize& gap = wxSize(0, 0) ); // ctors specifying the number of rows and columns diff --git a/interface/wx/sizer.h b/interface/wx/sizer.h index cfd1dd841c..6e6d1f36a4 100644 --- a/interface/wx/sizer.h +++ b/interface/wx/sizer.h @@ -1446,7 +1446,7 @@ public: @since 2.9.1 (except for the four argument overload) */ - wxFlexGridSizer( int cols, int vgap, int hgap ); + wxFlexGridSizer( int cols, int vgap, int hgap = 0 ); wxFlexGridSizer( int cols, const wxSize& gap = wxSize(0, 0) ); wxFlexGridSizer( int rows, int cols, int vgap, int hgap ); -- 2.47.2