The last commit was too hasty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -227,7 +227,7 @@ void wxWindowX11::SetFocus()
|
|||||||
|
|
||||||
if (wxWindowIsVisible(xwindow))
|
if (wxWindowIsVisible(xwindow))
|
||||||
{
|
{
|
||||||
// XSetInputFocus( wxGlobalDisplay(), xwindow, RevertToParent, CurrentTime );
|
XSetInputFocus( wxGlobalDisplay(), xwindow, RevertToParent, CurrentTime );
|
||||||
m_needsInputFocus = FALSE;
|
m_needsInputFocus = FALSE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -253,6 +253,7 @@ wxWindow *wxWindowBase::FindFocus()
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
wxWindow *wxWindowX11::GetFocusWidget()
|
wxWindow *wxWindowX11::GetFocusWidget()
|
||||||
{
|
{
|
||||||
wxWindow *win = (wxWindow*) this;
|
wxWindow *win = (wxWindow*) this;
|
||||||
@@ -265,6 +266,7 @@ wxWindow *wxWindowX11::GetFocusWidget()
|
|||||||
|
|
||||||
return win;
|
return win;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Enabling/disabling handled by event loop, and not sending events
|
// Enabling/disabling handled by event loop, and not sending events
|
||||||
// if disabled.
|
// if disabled.
|
||||||
|
Reference in New Issue
Block a user