const wxBitmap& bitmap,
const wxPoint& pos,
const wxSize& size, long style,
- const wxValidator& wxVALIDATOR_PARAM(validator),
+ const wxValidator& validator,
const wxString& name)
{
- if ( !wxBitmapButtonBase::Create(parent, id, "",
- pos, size,
- style | wxBU_NOTEXT,
+ if ( !wxBitmapButtonBase::Create(parent, id, pos, size, style,
validator, name) )
return false;
// from the normal one
m_disabledSetByUser = true;
break;
+
+ default:
+ // nothing special to do but include the default clause to
+ // suppress gcc warnings
+ ;
}
}