X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37f214d588b02079a3ddf64c2e46585ca1657c1b..bd52bee1062faef26287d2f5a2595a9d8ee4d85a:/include/wx/os2/combobox.h diff --git a/include/wx/os2/combobox.h b/include/wx/os2/combobox.h index b36c2eeae3..1b8b532805 100644 --- a/include/wx/os2/combobox.h +++ b/include/wx/os2/combobox.h @@ -33,7 +33,9 @@ class WXDLLEXPORT wxComboBox: public wxChoice const wxSize& size = wxDefaultSize, int n = 0, const wxString choices[] = NULL, long style = 0, +#if wxUSE_VALIDATORS const wxValidator& validator = wxDefaultValidator, +#endif const wxString& name = wxComboBoxNameStr) { Create(parent, id, value, pos, size, n, choices, style, validator, name); @@ -45,7 +47,9 @@ class WXDLLEXPORT wxComboBox: public wxChoice const wxSize& size = wxDefaultSize, int n = 0, const wxString choices[] = NULL, long style = 0, +#if wxUSE_VALIDATORS const wxValidator& validator = wxDefaultValidator, +#endif const wxString& name = wxComboBoxNameStr); // List functions: see wxChoice