X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be6520af4eb3c34cdf6fc083ad5b0d3b5699c322..6fc93e9bddacdce92910bebb4f13bc6d9f6baf6c:/src/gtk1/notebook.cpp diff --git a/src/gtk1/notebook.cpp b/src/gtk1/notebook.cpp index ddc1c86ddf..b5d0a93d56 100644 --- a/src/gtk1/notebook.cpp +++ b/src/gtk1/notebook.cpp @@ -249,7 +249,7 @@ static gint gtk_notebook_key_press_callback( GtkWidget *widget, GdkEventKey *gdk event.SetCurrentFocus( notebook ); wxNotebookPage *client = notebook->GetPage(sel); - if ( !client->GetEventHandler()->ProcessEvent( event ) ) + if ( !client->HandleWindowEvent( event ) ) { client->SetFocus(); }