]> git.saurik.com Git - wxWidgets.git/commitdiff
removed unused g_focusWindowLast
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 13 Feb 2008 14:47:21 +0000 (14:47 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 13 Feb 2008 14:47:21 +0000 (14:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp

index 7e637c83b076ba1a89f5c960d55e7bde34be9352..bd245f6925e1ee8c2b4ebabe9e81fd76eca5a9f0 100644 (file)
@@ -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,