X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9034c5906c1c5248dda83f186177f07279bfbab4..33cc6200a8c797c72536ca319148c0f712cf658a:/src/generic/dbgrptg.cpp diff --git a/src/generic/dbgrptg.cpp b/src/generic/dbgrptg.cpp index 4a6397b5b4..8a5b73ce39 100644 --- a/src/generic/dbgrptg.cpp +++ b/src/generic/dbgrptg.cpp @@ -29,7 +29,7 @@ #include "wx/textctrl.h" #endif // WX_PRECOMP -#if wxUSE_DEBUGREPORT && wxUSE_CHECKLISTBOX +#if wxUSE_DEBUGREPORT #include "wx/debugrpt.h" @@ -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));