X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1481968400c94128642815b6871724f118141cbc..ce22ac4592fccaedd8324e7a8f08b510748827e4:/src/gtk/notebook.cpp diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index c82ea26a99..948917069c 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -220,7 +220,6 @@ gtk_notebook_key_press_callback( GtkWidget *widget, // m_selection = page; gtk_notebook_set_current_page( GTK_NOTEBOOK(widget), page ); - g_signal_stop_emission_by_name (widget, "key_press_event"); return TRUE; } @@ -248,7 +247,6 @@ gtk_notebook_key_press_callback( GtkWidget *widget, client->SetFocus(); } - g_signal_stop_emission_by_name (widget, "key_press_event"); return TRUE; } @@ -806,7 +804,7 @@ int wxNotebook::HitTest(const wxPoint& pt, long *flags) const wxPoint pos = GetPosition(); rect.x -= pos.x; rect.y -= pos.y; - if ( rect.Inside( pt ) ) + if ( rect.Contains( pt ) ) *flags |= wxBK_HITTEST_ONPAGE; } }