X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/11e59d47c05f2303ccfc07625b726ac7cb821881..83a136ac4a84bf355622265ae3058546985ccc91:/include/wx/os2/radiobox.h diff --git a/include/wx/os2/radiobox.h b/include/wx/os2/radiobox.h index 576e12b114..9c424e8894 100644 --- a/include/wx/os2/radiobox.h +++ b/include/wx/os2/radiobox.h @@ -29,7 +29,9 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, int n = 0, const wxString choices[] = NULL, int majorDim = 0, long style = wxRA_HORIZONTAL, +#if wxUSE_VALIDATORS const wxValidator& val = wxDefaultValidator, const wxString& name = wxRadioBoxNameStr) +#endif { Create(parent, id, title, pos, size, n, choices, majorDim, style, val, name); } @@ -40,7 +42,9 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, int n = 0, const wxString choices[] = NULL, int majorDim = 0, long style = wxRA_HORIZONTAL, +#if wxUSE_VALIDATORS const wxValidator& val = wxDefaultValidator, const wxString& name = wxRadioBoxNameStr); +#endif virtual bool OS2Command(WXUINT param, WXWORD id); virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor,