// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "univscrolbar.h"
#endif
// the scrollbars never have the border
style &= ~wxBORDER_MASK;
- if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
+ if ( !wxControl::Create(parent, id, pos, size, style, validator, name) )
return FALSE;
SetBestSize(size);
void wxScrollBar::OnInternalIdle()
{
UpdateThumb();
+ wxControl::OnInternalIdle();
}
void wxScrollBar::UpdateThumb()