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:
Václav Slavík 2008-03-29 18:14:57 +00:00
parent 37dfb6ff1c
commit 29901843fd

View File

@ -2140,6 +2140,8 @@ bool wxWindowGTK::Create( wxWindow *parent,
m_focusWidget = m_wxwindow;
SetCanFocus(AcceptsFocus());
PostCreation();
return true;