From 8b611f0eb265e95343dc6c503debb6e908a8fd2e Mon Sep 17 00:00:00 2001 From: David Elliott Date: Wed, 26 Mar 2003 19:59:07 +0000 Subject: [PATCH] Wrap file with #if wxUSE_SLIDER ... #endif git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/widgets/slider.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/samples/widgets/slider.cpp b/samples/widgets/slider.cpp index 6cd7222108..b0f1fa8d3e 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" // ---------------------------------------------------------------------------- @@ -602,3 +603,5 @@ void SliderWidgetsPage::OnSlider(wxScrollEvent& event) event.GetPosition()); } +#endif + // wxUSE_SLIDER -- 2.45.2