compilation fix (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -97,11 +97,9 @@ static gint gtk_text_focus_in_callback( GtkWidget *widget, GdkEvent *WXUNUSED(ev
|
|||||||
|
|
||||||
g_focusWindow = win;
|
g_focusWindow = win;
|
||||||
|
|
||||||
wxPanel *panel = wxDynamicCast(win->GetParent(), wxPanel);
|
// notify the parent that we got the focus
|
||||||
if (panel)
|
wxChildFocusEvent eventFocus(win);
|
||||||
{
|
(void)win->GetEventHandler()->ProcessEvent(eventFocus);
|
||||||
panel->SetLastFocus(win);
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef HAVE_XIM
|
#ifdef HAVE_XIM
|
||||||
if (win->m_ic)
|
if (win->m_ic)
|
||||||
|
@@ -1694,8 +1694,8 @@ static gint gtk_window_focus_in_callback( GtkWidget *widget,
|
|||||||
|
|
||||||
// notify the parent keeping track of focus for the kbd navigation
|
// notify the parent keeping track of focus for the kbd navigation
|
||||||
// purposes that we got it
|
// purposes that we got it
|
||||||
wxChildFocusEvent eventFocus(this);
|
wxChildFocusEvent eventFocus(win);
|
||||||
(void)GetEventHandler()->ProcessEvent(eventFocus);
|
(void)win->GetEventHandler()->ProcessEvent(eventFocus);
|
||||||
|
|
||||||
#ifdef HAVE_XIM
|
#ifdef HAVE_XIM
|
||||||
if (win->m_ic)
|
if (win->m_ic)
|
||||||
|
@@ -97,11 +97,9 @@ static gint gtk_text_focus_in_callback( GtkWidget *widget, GdkEvent *WXUNUSED(ev
|
|||||||
|
|
||||||
g_focusWindow = win;
|
g_focusWindow = win;
|
||||||
|
|
||||||
wxPanel *panel = wxDynamicCast(win->GetParent(), wxPanel);
|
// notify the parent that we got the focus
|
||||||
if (panel)
|
wxChildFocusEvent eventFocus(win);
|
||||||
{
|
(void)win->GetEventHandler()->ProcessEvent(eventFocus);
|
||||||
panel->SetLastFocus(win);
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef HAVE_XIM
|
#ifdef HAVE_XIM
|
||||||
if (win->m_ic)
|
if (win->m_ic)
|
||||||
|
@@ -1694,8 +1694,8 @@ static gint gtk_window_focus_in_callback( GtkWidget *widget,
|
|||||||
|
|
||||||
// notify the parent keeping track of focus for the kbd navigation
|
// notify the parent keeping track of focus for the kbd navigation
|
||||||
// purposes that we got it
|
// purposes that we got it
|
||||||
wxChildFocusEvent eventFocus(this);
|
wxChildFocusEvent eventFocus(win);
|
||||||
(void)GetEventHandler()->ProcessEvent(eventFocus);
|
(void)win->GetEventHandler()->ProcessEvent(eventFocus);
|
||||||
|
|
||||||
#ifdef HAVE_XIM
|
#ifdef HAVE_XIM
|
||||||
if (win->m_ic)
|
if (win->m_ic)
|
||||||
|
Reference in New Issue
Block a user