X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dd96c0f6d5da873324f4013252061c69ed0d61c..9747f85dadc15f1cbfc333b40677c686bb9c4be9:/samples/widgets/slider.cpp diff --git a/samples/widgets/slider.cpp b/samples/widgets/slider.cpp index e2c586cbc4..b0f1fa8d3e 100644 --- a/samples/widgets/slider.cpp +++ b/samples/widgets/slider.cpp @@ -28,6 +28,7 @@ #ifndef WX_PRECOMP #include "wx/log.h" + #include "wx/bitmap.h" #include "wx/button.h" #include "wx/checkbox.h" #include "wx/radiobox.h" @@ -43,6 +44,7 @@ #include "wx/sizer.h" #include "widgets.h" +#if wxUSE_SLIDER #include "icons/slider.xpm" // ---------------------------------------------------------------------------- @@ -601,3 +603,5 @@ void SliderWidgetsPage::OnSlider(wxScrollEvent& event) event.GetPosition()); } +#endif + // wxUSE_SLIDER