X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7204798e2b7db9e5ebd94c327ed0fef72b18862..6058220154150a2f60b09198a444411873050e52:/src/gtk1/popupwin.cpp?ds=sidebyside diff --git a/src/gtk1/popupwin.cpp b/src/gtk1/popupwin.cpp index 4e9908879b..aa35b7af4b 100644 --- a/src/gtk1/popupwin.cpp +++ b/src/gtk1/popupwin.cpp @@ -230,8 +230,8 @@ bool wxPopupWindow::Create( wxWindow *parent, int style ) gtk_signal_connect( GTK_OBJECT(m_widget), "focus", GTK_SIGNAL_FUNC(gtk_dialog_focus_callback), (gpointer)this ); - g_signal_connect (GTK_OBJECT(m_widget), "button_press_event", - G_CALLBACK(gtk_popup_button_press), (gpointer)this ); + gtk_signal_connect (GTK_OBJECT(m_widget), "button_press_event", + GTK_SIGNAL_FUNC(gtk_popup_button_press), (gpointer)this ); return TRUE; }