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:
parent
77efa6a8fc
commit
9dd96c0f6d
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user