X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93d381756808d466a91e844d4ed10600a87c7a32..49af73a59bb77ecbc5f116d0b8cb5f8b947d77b7:/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 )) {