X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/60be2f47e18fcd87e9b5ca015587650288b859f3..08f6ac314ae712e2bc8fa59cf688e6bcff76181f:/src/common/sizer.cpp diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index 236704d783..f1e0c5dd4e 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -269,6 +269,21 @@ void wxSizer::Prepend( int width, int height, int option, int flag, int border, m_children.Insert( new wxSizerItem( width, height, option, flag, border, userData ) ); } +void wxSizer::Insert( int before, wxWindow *window, int option, int flag, int border, wxObject* userData ) +{ + m_children.Insert( before, new wxSizerItem( window, option, flag, border, userData ) ); +} + +void wxSizer::Insert( int before, wxSizer *sizer, int option, int flag, int border, wxObject* userData ) +{ + m_children.Insert( before, new wxSizerItem( sizer, option, flag, border, userData ) ); +} + +void wxSizer::Insert( int before, int width, int height, int option, int flag, int border, wxObject* userData ) +{ + m_children.Insert( before, new wxSizerItem( width, height, option, flag, border, userData ) ); +} + bool wxSizer::Remove( wxWindow *window ) { wxASSERT( window );