X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdf1e7142564c55f5299f1f2d0909090534eb97c..92f5ff59ccde20a9395084bb29c281ed6831b1b1:/include/wx/os2/radiobut.h diff --git a/include/wx/os2/radiobut.h b/include/wx/os2/radiobut.h index 4d4e48a579..f1e03be04a 100644 --- a/include/wx/os2/radiobut.h +++ b/include/wx/os2/radiobut.h @@ -26,7 +26,9 @@ class WXDLLEXPORT wxRadioButton: public wxControl const wxString& label, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, +#if wxUSE_VALIDATORS const wxValidator& validator = wxDefaultValidator, +#endif const wxString& name = wxRadioButtonNameStr) { Create(parent, id, label, pos, size, style, validator, name); @@ -36,7 +38,9 @@ class WXDLLEXPORT wxRadioButton: public wxControl const wxString& label, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, +#if wxUSE_VALIDATORS const wxValidator& validator = wxDefaultValidator, +#endif const wxString& name = wxRadioButtonNameStr); virtual void SetLabel(const wxString& label); @@ -63,7 +67,9 @@ class WXDLLEXPORT wxBitmapRadioButton: public wxRadioButton const wxBitmap *label, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, +#if wxUSE_VALIDATORS const wxValidator& validator = wxDefaultValidator, +#endif const wxString& name = wxBitmapRadioButtonNameStr) { Create(parent, id, label, pos, size, style, validator, name); @@ -73,7 +79,9 @@ class WXDLLEXPORT wxBitmapRadioButton: public wxRadioButton const wxBitmap *label, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, +#if wxUSE_VALIDATORS const wxValidator& validator = wxDefaultValidator, +#endif const wxString& name = wxBitmapRadioButtonNameStr); virtual void SetLabel(const wxBitmap *label);