compilation fix after wxSizer::Remove() change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-01-26 14:03:29 +00:00
parent 77efa6a8fc
commit 9dd96c0f6d
3 changed files with 6 additions and 6 deletions

View File

@ -266,7 +266,7 @@ void ButtonWidgetsPage::CreateButton()
size_t count = m_sizerButton->GetChildren().GetCount(); size_t count = m_sizerButton->GetChildren().GetCount();
for ( size_t n = 0; n < count; n++ ) for ( size_t n = 0; n < count; n++ )
{ {
m_sizerButton->Remove( 0u ); m_sizerButton->Remove( 0 );
} }
delete m_button; delete m_button;

View File

@ -388,8 +388,8 @@ void SliderWidgetsPage::CreateSlider()
if ( m_sizerSlider->GetChildren().GetCount() ) if ( m_sizerSlider->GetChildren().GetCount() )
{ {
// we have 2 spacers, remove them too // we have 2 spacers, remove them too
m_sizerSlider->Remove( 0u ); m_sizerSlider->Remove( 0 );
m_sizerSlider->Remove( 0u ); m_sizerSlider->Remove( 0 );
} }
delete m_slider; delete m_slider;

View File

@ -289,9 +289,9 @@ void SpinBtnWidgetsPage::CreateSpin()
m_sizerSpin->Detach( m_spinctrl ); m_sizerSpin->Detach( m_spinctrl );
// there are 3 spacers left // there are 3 spacers left
m_sizerSpin->Remove( 0u ); m_sizerSpin->Remove( 0 );
m_sizerSpin->Remove( 0u ); m_sizerSpin->Remove( 0 );
m_sizerSpin->Remove( 0u ); m_sizerSpin->Remove( 0 );
delete m_spinbtn; delete m_spinbtn;
delete m_spinctrl; delete m_spinctrl;