bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap,
const wxPoint& pos,
const wxSize& size, long style,
+#if wxUSE_VALIDATORS
const wxValidator& validator,
+#endif
const wxString& name)
{
m_buttonBitmap = bitmap;
SetName(name);
+#if wxUSE_VALIDATORS
SetValidator(validator);
+#endif
parent->AddChild(this);