From a6bc93cc748a66ddbc31a6d6ccc7ac804ed4b1a0 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Tue, 1 Apr 2003 15:50:40 +0000 Subject: [PATCH] Wrap file with #if wxUSE_SPINBTN instead of #if 1 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/widgets/spinbtn.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/widgets/spinbtn.cpp b/samples/widgets/spinbtn.cpp index aadc2ffd30..1d39412359 100644 --- a/samples/widgets/spinbtn.cpp +++ b/samples/widgets/spinbtn.cpp @@ -42,7 +42,7 @@ #include "wx/sizer.h" #include "widgets.h" -#if 1 +#if wxUSE_SPINBTN #include "icons/spinbtn.xpm" // ---------------------------------------------------------------------------- @@ -428,3 +428,4 @@ void SpinBtnWidgetsPage::OnSpinCtrl(wxCommandEvent& event) wxLogMessage(_T("Spin control value changed, now %d"), value); } #endif + // wxUSE_SPINBTN -- 2.45.2