]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix after wxSizer::Remove() change
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Jan 2003 14:03:29 +0000 (14:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Jan 2003 14:03:29 +0000 (14:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/widgets/button.cpp
samples/widgets/slider.cpp
samples/widgets/spinbtn.cpp

index 973ba9f9d16c07289c5b99be9b24a6ee0bd1e40c..d14df3ae57b82419e47770264e6a0548616c04af 100644 (file)
@@ -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;
index 15dcf5c2078d7885d2694763187e5e318a2ba3f4..e2c586cbc428c16d704f4a23c42ab65aa945132f 100644 (file)
@@ -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;
index cbf9acc024b8bfd860d71ef038ffce4b3ae00084..801ef7417dbd90be5c3d7c5846be9dca756e287e 100644 (file)
@@ -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;