#include "wx/mimetype.h"
#include "wx/statline.h"
+#include "wx/stattext.h"
+#include "wx/filedlg.h"
+#include "wx/valtext.h"
// ----------------------------------------------------------------------------
// wxDumpPreviewDlg: simple class for showing ASCII preview of dump files
wxID_ANY,
wxEmptyString,
wxDefaultPosition,
- wxSize(250, -1),
- 0,
- wxTextValidator(wxFILTER_NONE, &m_command)
+ wxSize(250, wxDefaultCoord),
+ 0
+#if wxUSE_VALIDATORS
+ ,wxTextValidator(wxFILTER_NONE, &m_command)
+#endif
);
sizerH->Add(command,
wxSizerFlags(1).Align(wxALIGN_CENTER_VERTICAL));