X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93d381756808d466a91e844d4ed10600a87c7a32..399b60a0ad232265cd74ce8bf6a53a1f2cc57ff2:/src/gtk/notebook.cpp diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index 1034747a3f..4fbff0c3df 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -178,6 +178,7 @@ static gint gtk_notebook_key_press_callback( GtkWidget *widget, GdkEventKey *gdk /* GDK reports GDK_ISO_Left_Tab for SHIFT-TAB */ event.SetDirection( (gdk_event->keyval == GDK_Tab) ); /* CTRL-TAB changes the (parent) window, i.e. switch notebook page */ + event.SetWindowChange( (gdk_event->state & GDK_CONTROL_MASK) ); event.SetCurrentFocus( win ); if (!page->m_client->GetEventHandler()->ProcessEvent( event )) {