X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7aab7176f17f06d41011d78dc462e47672357859..937d5b6075db060b98daa0f0fadbaa528bc85554:/include/wx/sizer.h?ds=sidebyside diff --git a/include/wx/sizer.h b/include/wx/sizer.h index aa14476d05..ac8f5b6f34 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -735,6 +735,11 @@ public: virtual wxSizerItem *Insert(size_t index, wxSizerItem *item); +#ifdef __WXOSX__ + // TODO change to better condition + using wxSizer::Insert; +#endif + virtual void RecalcSizes(); virtual wxSize CalcMin(); @@ -827,7 +832,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 = 0); + wxFlexGridSizer( int cols, int vgap, int hgap ); wxFlexGridSizer( int cols, const wxSize& gap = wxSize(0, 0) ); // ctors specifying the number of rows and columns