From 0618e761cb2188e43b0ad19f8a5277e0b4c07aff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 13 Feb 2008 14:47:21 +0000 Subject: [PATCH] removed unused g_focusWindowLast git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/window.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 7e637c83b0..bd245f6925 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -187,11 +187,6 @@ static bool g_captureWindowHasMouse = false; wxWindowGTK *g_focusWindow = (wxWindowGTK*) NULL; -// the last window which had the focus - this is normally never NULL (except -// if we never had focus at all) as even when g_focusWindow is NULL it still -// keeps its previous value -wxWindowGTK *g_focusWindowLast = (wxWindowGTK*) NULL; - // If a window get the focus set but has not been realized // yet, defer setting the focus to idle time. wxWindowGTK *g_delayedFocus = (wxWindowGTK*) NULL; @@ -1622,7 +1617,6 @@ gtk_window_focus_in_callback( GtkWidget * WXUNUSED(widget), if (win->m_imData) gtk_im_context_focus_in(win->m_imData->context); - g_focusWindowLast = g_focusWindow = win; wxLogTrace(TRACE_FOCUS,