X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a56f55c02d718e9da7574807cb01e4d2cf6a1fa..79c3e0e1aeebb64da2ac893e6ed7b27edca01a64:/src/gtk/bmpbuttn.cpp diff --git a/src/gtk/bmpbuttn.cpp b/src/gtk/bmpbuttn.cpp index 23909f6f3f..fe0b6ebe1e 100644 --- a/src/gtk/bmpbuttn.cpp +++ b/src/gtk/bmpbuttn.cpp @@ -26,7 +26,7 @@ class wxBitmapButton; IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton,wxControl) -void gtk_button_clicked_callback( GtkWidget *WXUNUSED(widget), gpointer data ) +void gtk_bmpbutton_clicked_callback( GtkWidget *WXUNUSED(widget), gpointer data ) { wxBitmapButton *button = (wxBitmapButton*)data; wxCommandEvent event(wxEVT_COMMAND_BUTTON_CLICKED, button->GetId()); @@ -42,14 +42,14 @@ wxBitmapButton::wxBitmapButton(void) wxBitmapButton::wxBitmapButton( wxWindow *parent, wxWindowID id, const wxBitmap &bitmap, const wxPoint &pos, const wxSize &size, - const long style, const wxString &name ) + 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 ) + long style, const wxString &name ) { m_needParent = TRUE; @@ -77,7 +77,7 @@ bool wxBitmapButton::Create( wxWindow *parent, wxWindowID id, const wxBitmap &b SetSize( newSize.x, newSize.y ); gtk_signal_connect( GTK_OBJECT(m_widget), "clicked", - GTK_SIGNAL_FUNC(gtk_button_clicked_callback), (gpointer*)this ); + GTK_SIGNAL_FUNC(gtk_bmpbutton_clicked_callback), (gpointer*)this ); PostCreation();