]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/slider.cpp
removed files with empty stubs
[wxWidgets.git] / samples / widgets / slider.cpp
index 15dcf5c2078d7885d2694763187e5e318a2ba3f4..b0f1fa8d3ebd66e9d248131def92cbe9a489d443 100644 (file)
@@ -28,6 +28,7 @@
 #ifndef WX_PRECOMP
     #include "wx/log.h"
 
 #ifndef WX_PRECOMP
     #include "wx/log.h"
 
+    #include "wx/bitmap.h"
     #include "wx/button.h"
     #include "wx/checkbox.h"
     #include "wx/radiobox.h"
     #include "wx/button.h"
     #include "wx/checkbox.h"
     #include "wx/radiobox.h"
@@ -43,6 +44,7 @@
 #include "wx/sizer.h"
 
 #include "widgets.h"
 #include "wx/sizer.h"
 
 #include "widgets.h"
+#if wxUSE_SLIDER
 #include "icons/slider.xpm"
 
 // ----------------------------------------------------------------------------
 #include "icons/slider.xpm"
 
 // ----------------------------------------------------------------------------
@@ -388,8 +390,8 @@ void SliderWidgetsPage::CreateSlider()
         if ( m_sizerSlider->GetChildren().GetCount() )
         {
             // we have 2 spacers, remove them too
         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;
         }
 
         delete m_slider;
@@ -601,3 +603,5 @@ void SliderWidgetsPage::OnSlider(wxScrollEvent& event)
                  event.GetPosition());
 }
 
                  event.GetPosition());
 }
 
+#endif
+    // wxUSE_SLIDER