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
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
#include "wx/sizer.h"
|
#include "wx/sizer.h"
|
||||||
|
|
||||||
#include "widgets.h"
|
#include "widgets.h"
|
||||||
#if 1
|
#if wxUSE_SPINBTN
|
||||||
#include "icons/spinbtn.xpm"
|
#include "icons/spinbtn.xpm"
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -428,3 +428,4 @@ void SpinBtnWidgetsPage::OnSpinCtrl(wxCommandEvent& event)
|
|||||||
wxLogMessage(_T("Spin control value changed, now %d"), value);
|
wxLogMessage(_T("Spin control value changed, now %d"), value);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
// wxUSE_SPINBTN
|
||||||
|
Reference in New Issue
Block a user