_conncect_after() should be used for controls emitting

command events so as to not confuse GTK+ if the user
    intercepts them too early.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2005-02-05 12:51:05 +00:00
parent 1175aa4e13
commit 58b907f6e1
8 changed files with 16 additions and 16 deletions

View File

@@ -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",