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