set initial GTK_CAN_FOCUS value to match AcceptsFocus (fixes wxTreeCtrl text control dismissing after r52476)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
37dfb6ff1c
commit
29901843fd
@ -2140,6 +2140,8 @@ bool wxWindowGTK::Create( wxWindow *parent,
|
||||
|
||||
m_focusWidget = m_wxwindow;
|
||||
|
||||
SetCanFocus(AcceptsFocus());
|
||||
|
||||
PostCreation();
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user