X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce4fd7b577cdeb1ceb085cb1380c0df97b6ceef4..264f00e7d963802202f56e8eb19663d8d73f73fb:/src/generic/dbgrptg.cpp diff --git a/src/generic/dbgrptg.cpp b/src/generic/dbgrptg.cpp index d265f9eb3e..8a5b73ce39 100644 --- a/src/generic/dbgrptg.cpp +++ b/src/generic/dbgrptg.cpp @@ -39,6 +39,9 @@ #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 @@ -165,9 +168,11 @@ wxDumpOpenExternalDlg::wxDumpOpenExternalDlg(wxWindow *parent, 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));