#include "wx/dcscreen.h"
#include "wx/button.h"
#include "wx/menu.h"
-#include "wx/list.h"
#include "wx/pen.h"
#include "wx/brush.h"
#include "wx/palette.h"
#include "wx/dirdlg.h"
#include "wx/toolbar.h"
+#include "wx/validate.h" // always include, even if !wxUSE_VALIDATORS
+
#if wxUSE_VALIDATORS
#include "wx/valtext.h"
#endif // wxUSE_VALIDATORS