X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2b4469be1759c89835d490a4ac608dd252da21d..ddc548ec7796fd689dbc2eda7be08598d1dc885c:/src/gtk1/bmpbuttn.cpp diff --git a/src/gtk1/bmpbuttn.cpp b/src/gtk1/bmpbuttn.cpp index 7b51da0f9d..ed67afffaf 100644 --- a/src/gtk1/bmpbuttn.cpp +++ b/src/gtk1/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) )