From 9dd96c0f6d5da873324f4013252061c69ed0d61c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 26 Jan 2003 14:03:29 +0000 Subject: [PATCH] compilation fix after wxSizer::Remove() change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/widgets/button.cpp | 2 +- samples/widgets/slider.cpp | 4 ++-- samples/widgets/spinbtn.cpp | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/widgets/button.cpp b/samples/widgets/button.cpp index 973ba9f9d1..d14df3ae57 100644 --- a/samples/widgets/button.cpp +++ b/samples/widgets/button.cpp @@ -266,7 +266,7 @@ void ButtonWidgetsPage::CreateButton() size_t count = m_sizerButton->GetChildren().GetCount(); for ( size_t n = 0; n < count; n++ ) { - m_sizerButton->Remove( 0u ); + m_sizerButton->Remove( 0 ); } delete m_button; diff --git a/samples/widgets/slider.cpp b/samples/widgets/slider.cpp index 15dcf5c207..e2c586cbc4 100644 --- a/samples/widgets/slider.cpp +++ b/samples/widgets/slider.cpp @@ -388,8 +388,8 @@ void SliderWidgetsPage::CreateSlider() if ( m_sizerSlider->GetChildren().GetCount() ) { // we have 2 spacers, remove them too - m_sizerSlider->Remove( 0u ); - m_sizerSlider->Remove( 0u ); + m_sizerSlider->Remove( 0 ); + m_sizerSlider->Remove( 0 ); } delete m_slider; diff --git a/samples/widgets/spinbtn.cpp b/samples/widgets/spinbtn.cpp index cbf9acc024..801ef7417d 100644 --- a/samples/widgets/spinbtn.cpp +++ b/samples/widgets/spinbtn.cpp @@ -289,9 +289,9 @@ void SpinBtnWidgetsPage::CreateSpin() m_sizerSpin->Detach( m_spinctrl ); // there are 3 spacers left - m_sizerSpin->Remove( 0u ); - m_sizerSpin->Remove( 0u ); - m_sizerSpin->Remove( 0u ); + m_sizerSpin->Remove( 0 ); + m_sizerSpin->Remove( 0 ); + m_sizerSpin->Remove( 0 ); delete m_spinbtn; delete m_spinctrl;