X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/936a13b5015f87819f27aeca2cd232bedfe45106..6e76b35d73fb5a043fd39af266bd452a6e20a861:/contrib/include/wx/gizmos/multicell.h diff --git a/contrib/include/wx/gizmos/multicell.h b/contrib/include/wx/gizmos/multicell.h index f4cab3fffb..a22b9871ca 100644 --- a/contrib/include/wx/gizmos/multicell.h +++ b/contrib/include/wx/gizmos/multicell.h @@ -154,6 +154,16 @@ public: m_minCellSize = size; }; + /* These are to hide Add() method of parents and to avoid Borland warning about hiding virtual functions */ + void Add( wxWindow *window, int proportion = 0, int flag = 0, int border = 0, wxObject* userData = NULL ) + { wxFlexGridSizer::Add( window, proportion, flag, border, userData); } + void Add( wxSizer *sizer, int proportion = 0, int flag = 0, int border = 0, wxObject* userData = NULL ) + { wxFlexGridSizer::Add( sizer, proportion, flag, border, userData); } + void Add( int width, int height, int proportion = 0, int flag = 0, int border = 0, wxObject* userData = NULL ) + { wxFlexGridSizer::Add( width, height, proportion, flag, border, userData); } + void Add( wxSizerItem *item ) + { wxFlexGridSizer::Add( item); } + private: wxWindow *m_parent; unsigned int m_maxRows, m_maxCols;