]> git.saurik.com Git - wxWidgets.git/commitdiff
Wrap file with #if wxUSE_SPINBTN instead of #if 1
authorDavid Elliott <dfe@tgwbd.org>
Tue, 1 Apr 2003 15:50:40 +0000 (15:50 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Tue, 1 Apr 2003 15:50:40 +0000 (15:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/widgets/spinbtn.cpp

index aadc2ffd3058d6ca71df1c5c6cf18007ce378c4f..1d39412359e3ef4dd027f40beee6199f65100369 100644 (file)
@@ -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