X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef826e249610b0930a11039e30f15bad70c4d7f4..8add533eb22ba0756f5b426f77ee593bc1aa6fcd:/src/generic/dbgrptg.cpp diff --git a/src/generic/dbgrptg.cpp b/src/generic/dbgrptg.cpp index c09e021cd7..8a5b73ce39 100644 --- a/src/generic/dbgrptg.cpp +++ b/src/generic/dbgrptg.cpp @@ -168,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));