X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3bb70c4026e31feb396b60a02c2a36dd5f63c3f0..c580f45efe9406261d537f2dada51650eb054be6:/samples/widgets/slider.cpp diff --git a/samples/widgets/slider.cpp b/samples/widgets/slider.cpp index 6cd7222108..45f1bed255 100644 --- a/samples/widgets/slider.cpp +++ b/samples/widgets/slider.cpp @@ -44,6 +44,7 @@ #include "wx/sizer.h" #include "widgets.h" +#if wxUSE_SLIDER #include "icons/slider.xpm" // ---------------------------------------------------------------------------- @@ -535,7 +536,7 @@ void SliderWidgetsPage::OnUpdateUIResetButton(wxUpdateUIEvent& event) m_chkBothSides->GetValue() ); } -void SliderWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& event) +void SliderWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& WXUNUSED(event)) { CreateSlider(); } @@ -602,3 +603,5 @@ void SliderWidgetsPage::OnSlider(wxScrollEvent& event) event.GetPosition()); } +#endif + // wxUSE_SLIDER