#ifndef WX_PRECOMP
#include "wx/log.h"
+ #include "wx/bitmap.h"
#include "wx/button.h"
#include "wx/checkbox.h"
#include "wx/radiobox.h"
#include "wx/sizer.h"
#include "widgets.h"
-#if 1
+#if wxUSE_SPINBTN
#include "icons/spinbtn.xpm"
// ----------------------------------------------------------------------------
m_sizerSpin->Detach( m_spinctrl );
// there are 3 spacers left
- m_sizerSpin->Remove( 0u );
- m_sizerSpin->Remove( 0u );
- m_sizerSpin->Remove( 0u );
+ m_sizerSpin->Remove( 0 );
+ m_sizerSpin->Remove( 0 );
+ m_sizerSpin->Remove( 0 );
delete m_spinbtn;
delete m_spinctrl;
wxLogMessage(_T("Spin control value changed, now %d"), value);
}
#endif
+ // wxUSE_SPINBTN