removed unused g_focusWindowLast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -187,11 +187,6 @@ static bool g_captureWindowHasMouse = false;
|
|||||||
|
|
||||||
wxWindowGTK *g_focusWindow = (wxWindowGTK*) NULL;
|
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
|
// If a window get the focus set but has not been realized
|
||||||
// yet, defer setting the focus to idle time.
|
// yet, defer setting the focus to idle time.
|
||||||
wxWindowGTK *g_delayedFocus = (wxWindowGTK*) NULL;
|
wxWindowGTK *g_delayedFocus = (wxWindowGTK*) NULL;
|
||||||
@@ -1622,7 +1617,6 @@ gtk_window_focus_in_callback( GtkWidget * WXUNUSED(widget),
|
|||||||
if (win->m_imData)
|
if (win->m_imData)
|
||||||
gtk_im_context_focus_in(win->m_imData->context);
|
gtk_im_context_focus_in(win->m_imData->context);
|
||||||
|
|
||||||
g_focusWindowLast =
|
|
||||||
g_focusWindow = win;
|
g_focusWindow = win;
|
||||||
|
|
||||||
wxLogTrace(TRACE_FOCUS,
|
wxLogTrace(TRACE_FOCUS,
|
||||||
|
Reference in New Issue
Block a user