-#include "wx/bmpbuttn.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class wxBitmapButton;
-
-//-----------------------------------------------------------------------------
-// wxBitmapButton
-//-----------------------------------------------------------------------------
-
-IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton,wxControl)
-
-void gtk_button_clicked_callback( GtkWidget *WXUNUSED(widget), gpointer data )
-{
- wxBitmapButton *button = (wxBitmapButton*)data;
- wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, button->GetId());
- event.SetEventObject(button);
- button->ProcessEvent(event);
-};
-
-//-----------------------------------------------------------------------------
-
-wxBitmapButton::wxBitmapButton(void)
-{
-};
-
-wxBitmapButton::wxBitmapButton( wxWindow *parent, wxWindowID id, const wxBitmap &bitmap,
- const wxPoint &pos, const wxSize &size,
- const long style, const wxString &name )
-{
- Create( parent, id, bitmap, pos, size, style, name );
-};
-
-bool wxBitmapButton::Create( wxWindow *parent, wxWindowID id, const wxBitmap &bitmap,
- const wxPoint &pos, const wxSize &size,
- const long style, const wxString &name )
-{
- m_needParent = TRUE;
-
- wxSize newSize = size;