#include "wx/textctrl.h"
#endif // WX_PRECOMP
-#if wxUSE_DEBUGREPORT && wxUSE_CHECKLISTBOX
+#if wxUSE_DEBUGREPORT
#include "wx/debugrpt.h"
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));