X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37f214d588b02079a3ddf64c2e46585ca1657c1b..dc1efb1d9f4e4ce7d8f889dad3aaab7026b73058:/include/wx/os2/bmpbuttn.h diff --git a/include/wx/os2/bmpbuttn.h b/include/wx/os2/bmpbuttn.h index 548e005b0e..f7f5b070fe 100644 --- a/include/wx/os2/bmpbuttn.h +++ b/include/wx/os2/bmpbuttn.h @@ -26,7 +26,9 @@ class WXDLLEXPORT wxBitmapButton: public wxButton inline wxBitmapButton(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxBU_AUTODRAW, +#if wxUSE_VALIDATORS const wxValidator& validator = wxDefaultValidator, +#endif const wxString& name = wxButtonNameStr) { Create(parent, id, bitmap, pos, size, style, validator, name); @@ -35,7 +37,9 @@ class WXDLLEXPORT wxBitmapButton: public wxButton bool Create(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxBU_AUTODRAW, +#if wxUSE_VALIDATORS const wxValidator& validator = wxDefaultValidator, +#endif const wxString& name = wxButtonNameStr); virtual void SetLabel(const wxBitmap& bitmap)