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:
@@ -2140,6 +2140,8 @@ bool wxWindowGTK::Create( wxWindow *parent,
|
|||||||
|
|
||||||
m_focusWidget = m_wxwindow;
|
m_focusWidget = m_wxwindow;
|
||||||
|
|
||||||
|
SetCanFocus(AcceptsFocus());
|
||||||
|
|
||||||
PostCreation();
|
PostCreation();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user