]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/notebook.cpp
moved wxDash typedef to gdicmn.h
[wxWidgets.git] / src / gtk / notebook.cpp
index 1034747a3f465fe318796c69ef796c81866878ae..4fbff0c3df3e362f472a32dd274853fc4edd1dca 100644 (file)
@@ -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 ))
         {