WX_CLEAR_LIST(wxSizerItemList, m_children);
}
-void wxSizer::Add( wxWindow *window, int proportion, int flag, int border, wxObject* userData )
-{
- Add( new wxSizerItem( window, proportion, flag, border, userData ) );
-}
-
-void wxSizer::Add( wxSizer *sizer, int proportion, int flag, int border, wxObject* userData )
-{
- Add( new wxSizerItem( sizer, proportion, flag, border, userData ) );
-}
-
-void wxSizer::Add( int width, int height, int proportion, int flag, int border, wxObject* userData )
-{
- Add( new wxSizerItem( width, height, proportion, flag, border, userData ) );
-}
-
-void wxSizer::Add( wxSizerItem *item )
-{
- Insert( m_children.GetCount(), item );
-}
-
-void wxSizer::AddSpacer(int size)
-{
- Add(size, size);
-}
-
-void wxSizer::AddStretchSpacer(int prop)
-{
- Add(0, 0, prop);
-}
-
-void wxSizer::Prepend( wxWindow *window, int proportion, int flag, int border, wxObject* userData )
-{
- Prepend( new wxSizerItem( window, proportion, flag, border, userData ) );
-}
-
-void wxSizer::Prepend( wxSizer *sizer, int proportion, int flag, int border, wxObject* userData )
-{
- Prepend( new wxSizerItem( sizer, proportion, flag, border, userData ) );
-}
-
-void wxSizer::Prepend( int width, int height, int proportion, int flag, int border, wxObject* userData )
-{
- Prepend( new wxSizerItem( width, height, proportion, flag, border, userData ) );
-}
-
-void wxSizer::Prepend( wxSizerItem *item )
-{
- Insert( 0, item );
-}
-
-void wxSizer::PrependSpacer(int size)
-{
- Prepend(size, size);
-}
-
-void wxSizer::PrependStretchSpacer(int prop)
-{
- Prepend(0, 0, prop);
-}
-
-void wxSizer::Insert( size_t index,
- wxWindow *window,
- int proportion,
- int flag,
- int border,
- wxObject* userData )
-{
- Insert( index, new wxSizerItem( window, proportion, flag, border, userData ) );
-}
-
-void wxSizer::Insert( size_t index,
- wxSizer *sizer,
- int proportion,
- int flag,
- int border,
- wxObject* userData )
-{
- Insert( index, new wxSizerItem( sizer, proportion, flag, border, userData ) );
-}
-
-void wxSizer::Insert( size_t index,
- int width,
- int height,
- int proportion,
- int flag,
- int border,
- wxObject* userData )
-{
- Insert( index, new wxSizerItem( width, height, proportion, flag, border, userData ) );
-}
-
void wxSizer::Insert( size_t index, wxSizerItem *item )
{
m_children.Insert( index, item );
item->GetWindow()->SetContainingSizer( this );
}
-void wxSizer::InsertSpacer(size_t index, int size)
-{
- Insert(index, size, size);
-}
-
-void wxSizer::InsertStretchSpacer(size_t index, int prop)
-{
- Insert(index, 0, 0, prop);
-}
-
bool wxSizer::Remove( wxWindow *window )
{
return Detach( window );