#include "wx/bmpbuttn.h"
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton,wxButton)
-
bool wxBitmapButton::Create(wxWindow *parent,
wxWindowID id,
const wxBitmap& bitmap,
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;