X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2b4469be1759c89835d490a4ac608dd252da21d..ed1288c1d53072d6db0285d2bd5dca3d72fc8c3e:/src/gtk/bmpbuttn.cpp?ds=inline diff --git a/src/gtk/bmpbuttn.cpp b/src/gtk/bmpbuttn.cpp index 7b51da0f9d..ed67afffaf 100644 --- a/src/gtk/bmpbuttn.cpp +++ b/src/gtk/bmpbuttn.cpp @@ -149,7 +149,7 @@ bool wxBitmapButton::Create( wxWindow *parent, OnSetBitmap(); } - gtk_signal_connect( GTK_OBJECT(m_widget), "clicked", + gtk_signal_connect_after( GTK_OBJECT(m_widget), "clicked", GTK_SIGNAL_FUNC(gtk_bmpbutton_clicked_callback), (gpointer*)this ); gtk_signal_connect( GTK_OBJECT(m_widget), "enter", @@ -263,6 +263,11 @@ void wxBitmapButton::OnSetBitmap() } } +wxSize wxBitmapButton::DoGetBestSize() const +{ + return wxControl::DoGetBestSize(); +} + bool wxBitmapButton::Enable( bool enable ) { if ( !wxWindow::Enable(enable) )