// Name: src/gtk/bmpbuttn.cpp
// Purpose:
// Author: Robert Roebling
-// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#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;