#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 wxUSE_SLIDER
#include "icons/slider.xpm"
// ----------------------------------------------------------------------------
if ( m_sizerSlider->GetChildren().GetCount() )
{
// we have 2 spacers, remove them too
- m_sizerSlider->Remove( 0u );
- m_sizerSlider->Remove( 0u );
+ m_sizerSlider->Remove( 0 );
+ m_sizerSlider->Remove( 0 );
}
delete m_slider;
event.GetPosition());
}
+#endif
+ // wxUSE_SLIDER