]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/slider.cpp
updated project files and compilation options
[wxWidgets.git] / samples / widgets / slider.cpp
index 6cd722210863cba33bb30fe357daa3770d4245cc..45f1bed255b660d59903f719049c126cab548c8a 100644 (file)
@@ -44,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"
 
 // ----------------------------------------------------------------------------
@@ -535,7 +536,7 @@ void SliderWidgetsPage::OnUpdateUIResetButton(wxUpdateUIEvent& event)
                   m_chkBothSides->GetValue() );
 }
 
                   m_chkBothSides->GetValue() );
 }
 
-void SliderWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& event)
+void SliderWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& WXUNUSED(event))
 {
     CreateSlider();
 }
 {
     CreateSlider();
 }
@@ -602,3 +603,5 @@ void SliderWidgetsPage::OnSlider(wxScrollEvent& event)
                  event.GetPosition());
 }
 
                  event.GetPosition());
 }
 
+#endif
+    // wxUSE_SLIDER