X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37f214d588b02079a3ddf64c2e46585ca1657c1b..9ef63a4a59eccce6cd8787f0ed966bfa8365a22e:/include/wx/os2/bmpbuttn.h?ds=sidebyside diff --git a/include/wx/os2/bmpbuttn.h b/include/wx/os2/bmpbuttn.h index 548e005b0e..8847ff3d10 100644 --- a/include/wx/os2/bmpbuttn.h +++ b/include/wx/os2/bmpbuttn.h @@ -18,7 +18,7 @@ WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr; #define wxDEFAULT_BUTTON_MARGIN 4 -class WXDLLEXPORT wxBitmapButton: public wxButton +class WXDLLEXPORT wxBitmapButton: public wxBitmapButtonBase { DECLARE_DYNAMIC_CLASS(wxBitmapButton) public: @@ -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)